fetch contact lists

If we don't have a contact list, make sure to fetch one

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin committed 2024-09-02 16:22:29 -07:00
1 parent 92e9e34e19
commit ad244d48c0
15 files changed
+517 -194

No files matched your search

+1 -1
View File
@@ -144,7 +144,7 @@ mod preview {
let mut pks = HashSet::new();
let mut keys = HashSet::new();
for query_result in ndb.query(&txn, filters, 2000).unwrap() {
for query_result in ndb.query(&txn, &filters, 2000).unwrap() {
pks.insert(query_result.note.pubkey());
}
+1 -1
View File
@@ -75,7 +75,7 @@ impl<'a> ThreadView<'a> {
{
let mut ids = HashSet::new();
let _ = TimelineSource::Thread(root_id)
.poll_notes_into_view(self.app, &txn, &mut ids);
.poll_notes_into_view(self.app, &mut ids);
// TODO: do something with unknown ids
}