Notifications

Changelog-Added: Add new Notifications View
This commit is contained in:
William Casarin committed 2023-02-25 11:33:25 -08:00
1 parent e4dd585754
commit 64b1a57918
27 files changed
+918 -61

No files matched your search

+4
View File
@@ -168,6 +168,9 @@ class NostrEvent: Codable, Identifiable, CustomStringConvertible, Equatable, Has
return decrypted(privkey: privkey) ?? "*failed to decrypt content*"
}
return content
/*
switch validity {
case .ok:
return content
@@ -176,6 +179,7 @@ class NostrEvent: Codable, Identifiable, CustomStringConvertible, Equatable, Has
case .bad_sig:
return content + "\n\n*WARNING: invalid signature, could be forged!*"
}
*/
}
var description: String {