Fix bug
This commit is contained in:
parent
a08e1a8d69
commit
8a2bd500cb
2 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,7 @@ class InitMatrix extends EventEmitter {
|
|||
this.roomsInput = new RoomsInput(this.matrixClient, this.roomList);
|
||||
this.notifications = new Notifications(this.roomList);
|
||||
this.emit('init_loading_finished');
|
||||
this.notifications._initNoti();
|
||||
} else {
|
||||
this.notifications._initNoti();
|
||||
}
|
||||
|
|
|
@ -51,6 +51,7 @@ class Notifications extends EventEmitter {
|
|||
}
|
||||
|
||||
async _initNoti() {
|
||||
this.roomIdToNoti = new Map();
|
||||
this.LOGO_HIGHLIGH = await getBadgedFavicon(LogoSVG, cssVar('--bg-positive'));
|
||||
this.LOGO_UNREAD = await getBadgedFavicon(LogoSVG, cssVar('--bg-badge'));
|
||||
|
||||
|
|
Loading…
Reference in a new issue