notes: generalize event_is_reply a bit
so that it works with NdbNote as well
This commit is contained in:
1 parent
6fa9149939
commit
b5dd90b36a
5 files changed
+6
-6
No files matched your search
@@ -296,7 +296,7 @@ extension NdbNote {
|
||||
}
|
||||
|
||||
func is_reply(_ privkey: String?) -> Bool {
|
||||
return event_is_reply(self, privkey: privkey)
|
||||
return event_is_reply(self.event_refs(privkey))
|
||||
}
|
||||
|
||||
func note_language(_ privkey: String?) -> String? {
|
||||
|
||||
Reference in new issue
Block a user