MCPcopy Create free account
hub / github.com/Roy3838/Observer / getNotificationContact

Method getNotificationContact

app/src/utils/settings.ts:224–227  ·  view source on GitHub ↗

Last value the user confirmed for this contact kind, or '' if none.

(kind: string)

Source from the content-addressed store, hash-verified

222
223 /** Last value the user confirmed for this contact kind, or '' if none. */
224 public getNotificationContact(kind: string): string {
225 const v = this.readAllContacts()[kind];
226 return typeof v === 'string' ? v : '';
227 }
228
229 public setNotificationContact(kind: string, value: string): void {
230 const all = this.readAllContacts();

Callers 2

silentValueFunction · 0.80
ContactRowFunction · 0.80

Calls 1

readAllContactsMethod · 0.95

Tested by

no test coverage detected