fix: correct isNotificationEvent function usage

This commit is contained in:
Evie Gauthier committed 2026-03-12 14:47:04 -04:00
1 parent 5260fb9b6a
commit 27fe27342a
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}