fix(ui): optional list update

This commit is contained in:
nick-delirium 2023-05-31 09:35:23 +02:00
parent 8d1e21bef6
commit 9545879fbf

View file

@ -110,7 +110,7 @@ export default class MessageManager {
public updateLists(lists: Partial<InitialLists>) {
// update each tab with tabid from events !!!
Object.values(this.tabs)[0].updateLists(lists)
Object.values(this.tabs)[0]?.updateLists?.(lists)
}
public _sortMessagesHack = (msgs: Message[]) => {