This commit is contained in:
Ajay Bura 2022-09-04 11:53:53 +05:30
parent a08e1a8d69
commit 8a2bd500cb
2 changed files with 2 additions and 0 deletions

View file

@ -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();
}

View file

@ -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'));