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:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user