fixed fr trust

This commit is contained in:
7w1 committed 2026-03-06 00:15:00 -06:00
1 parent b5f3989c57
commit cef877d65b
1 file changed
+1 -1
+1 -1
View File
@@ -299,7 +299,7 @@ function MessageNotifications() {
// Page is visible — show the themed in-app notification banner for any
// highlighted message (mention / keyword) or loud push rule.
if ((isHighlightByRule || loudByRule) && showNotifications) {
if (mobileOrTablet() && (isHighlightByRule || loudByRule) && showNotifications) {
const isEncryptedRoom = !!getStateEvent(room, StateEvent.RoomEncryption);
const avatarMxc =
room.getAvatarFallbackMember()?.getMxcAvatarUrl() ?? room.getMxcAvatarUrl();