home: add quote repost counter and handler
This adds the initial support code for counting and handling quote reposts. Eventually we are going to replace all of the event counts by stats within nostrdb, but we do this in the meantime now. Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
1 parent
6111e244de
commit
8cdbc84093
6 files changed
+36
-8
No files matched your search
@@ -49,7 +49,8 @@ func generate_test_damus_state(
|
||||
nav: .init(),
|
||||
music: .init(onChange: {_ in }),
|
||||
video: .init(),
|
||||
ndb: ndb)
|
||||
ndb: ndb,
|
||||
quote_reposts: .init(our_pubkey: our_pubkey) )
|
||||
|
||||
return damus
|
||||
}
|
||||
Reference in new issue
Block a user