ssb: We don't have to wait for channel status to finish load.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled

This commit is contained in:
Cory McWilliams 2024-12-29 13:41:57 -05:00
parent 98275f7c87
commit 1974ed1c03
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{
"type": "tildefriends-app",
"emoji": "🦀",
"previous": "&yapJ13Gt1EBAoNfcjqen0o7c4wSjjRSQSxZFFtPDHps=.sha256"
"previous": "&VAZXXBIeJH6zCSc6o4Za+RetRRZe41VKow+fBrYAIkc=.sha256"
}

View File

@ -379,7 +379,7 @@ class TfElement extends LitElement {
};
by_count.push({count: v.of, id: id});
}
let channels_latest = this.load_channels_latest(Object.keys(following));
this.load_channels_latest(Object.keys(following));
this.channels_unread = JSON.parse(
(await tfrpc.rpc.databaseGet('unread')) ?? '{}'
);
@ -393,7 +393,6 @@ class TfElement extends LitElement {
'users'
);
start_time = new Date();
await channels_latest;
this.following = Object.keys(following);
this.users = users;
console.log(`load finished ${whoami} => ${this.whoami}`);