mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Add DM privacy indicators and relay hint publishing
This commit is contained in:
1 parent
e1d58a2530
commit
924ed9b482
9 files changed
+597
-8
No files matched your search
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user