Add DM privacy indicators and relay hint publishing

This commit is contained in:
thePR0M3TH3AN committed 2026-01-19 10:56:54 -05:00
1 parent e1d58a2530
commit 924ed9b482
9 files changed
+597 -8

No files matched your search

+5
View File
@@ -504,6 +504,9 @@ export default class ApplicationBootstrap {
setDmRecipient: (pubkey) => app.setDmRecipientPubkey(pubkey),
getDmRelayHints: (pubkey) => app.getDmRelayHints(pubkey),
setDmRelayHints: (pubkey, hints) => app.setDmRelayHints(pubkey, hints),
getDmRelayPreferences: (pubkey) => app.getDmRelayHints(pubkey),
setDmRelayPreferences: (pubkey, hints) =>
app.setDmRelayHints(pubkey, hints),
};
const profileModalCallbacks = {
@@ -541,6 +544,8 @@ export default class ApplicationBootstrap {
onOpenRelays: (payload) => app.handleProfileUseDmRelays(payload),
onTogglePrivacy: (payload) =>
app.handleProfilePrivacyToggle(payload),
onPublishDmRelayPreferences: (payload) =>
app.handleProfilePublishDmRelayPreferences(payload),
};
app.profileController = new ProfileModalController({