You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Fix conflicting PRs
This commit is contained in:
@@ -41,8 +41,8 @@ export function countRoomsWithNotif(rooms) {
|
|||||||
const highlight = room.getUnreadNotificationCount('highlight') > 0;
|
const highlight = room.getUnreadNotificationCount('highlight') > 0;
|
||||||
const notificationCount = room.getUnreadNotificationCount();
|
const notificationCount = room.getUnreadNotificationCount();
|
||||||
|
|
||||||
const notifBadges = notificationCount > 0 && _shouldShowNotifBadge(roomNotifState);
|
const notifBadges = notificationCount > 0 && shouldShowNotifBadge(roomNotifState);
|
||||||
const mentionBadges = highlight && _shouldShowMentionBadge(roomNotifState);
|
const mentionBadges = highlight && shouldShowMentionBadge(roomNotifState);
|
||||||
const isInvite = room.hasMembershipState(MatrixClientPeg.get().credentials.userId, 'invite');
|
const isInvite = room.hasMembershipState(MatrixClientPeg.get().credentials.userId, 'invite');
|
||||||
const badges = notifBadges || mentionBadges || isInvite;
|
const badges = notifBadges || mentionBadges || isInvite;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user