Skip to content

Commit

Permalink
Correctly remove notification
Browse files Browse the repository at this point in the history
  • Loading branch information
ginnyTheCat committed Sep 11, 2022
1 parent 373ff2c commit 73a6a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/state/Notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ class Notifications extends EventEmitter {

_deletePopupRoomNotis(roomId) {
this.roomIdToPopupNotis.get(roomId)?.forEach((n) => {
this.eventIdToPopupNoti.delete(roomId);
this.eventIdToPopupNoti.delete(n.tag);
n.close();
});
this.roomIdToPopupNotis.delete(roomId);
Expand Down

0 comments on commit 73a6a26

Please sign in to comment.