WIP NIP-17 direct messages

This commit is contained in:
2025-06-09 20:31:00 -05:00
parent 3ddb2625e9
commit 922c705dd0
17 changed files with 369 additions and 18 deletions

View File

@@ -26,7 +26,7 @@ struct NotificationFormatter {
content.title = NSLocalizedString("Someone posted a note", comment: "Title label for push notification where someone posted a note")
content.body = event.content
break
case .dm:
case .deprecated_dm:
content.title = NSLocalizedString("New message", comment: "Title label for push notifications where a direct message was sent to the user")
content.body = NSLocalizedString("(Contents are encrypted)", comment: "Label on push notification indicating that the contents of the message are encrypted")
break