mirror of
https://github.com/SableClient/Sable.git
synced 2026-12-03 23:32:22 -08:00
fix: correct isNotificationEvent function usage
This commit is contained in:
1 parent
5260fb9b6a
commit
27fe27342a
1 file changed
+1
-1
@@ -316,7 +316,7 @@ function MessageNotifications() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!room || isHistoricalEvent || room.isSpaceRoom() || !isNotificationEvent(mEvent, room, mx.getUserId())) {
|
||||
if (!room || isHistoricalEvent || room.isSpaceRoom() || !isNotificationEvent(mEvent)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user