This commit is contained in:
Kegan Dougal 2023-01-19 11:02:43 +00:00
parent c34df2bf96
commit 186938d32a
3 changed files with 11 additions and 7 deletions

View file

@ -256,11 +256,7 @@ export class SlidingRoomListStoreClass extends AsyncStoreWithClient<IState> impl
this.tagMap = tagMap;
}
private onSlidingSyncListUpdate(
tagId: string,
joinCount: number,
roomIndexToRoomId: Record<number, string>,
): void {
private onSlidingSyncListUpdate(tagId: string, joinCount: number, roomIndexToRoomId: Record<number, string>): void {
this.counts[tagId] = joinCount;
this.refreshOrderedLists(tagId, roomIndexToRoomId);
// let the UI update