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
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
This commit is contained in:
parent
98275f7c87
commit
1974ed1c03
@ -1,5 +1,5 @@
|
||||
{
|
||||
"type": "tildefriends-app",
|
||||
"emoji": "🦀",
|
||||
"previous": "&yapJ13Gt1EBAoNfcjqen0o7c4wSjjRSQSxZFFtPDHps=.sha256"
|
||||
"previous": "&VAZXXBIeJH6zCSc6o4Za+RetRRZe41VKow+fBrYAIkc=.sha256"
|
||||
}
|
||||
|
@ -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}`);
|
||||
|
Loading…
Reference in New Issue
Block a user