Fix conflicting PRs

pull/21833/head
David Baker 2019-06-19 13:33:06 +01:00
parent 86081c3c8f
commit 2247c5953d
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ export function countRoomsWithNotif(rooms) {
const highlight = room.getUnreadNotificationCount('highlight') > 0;
const notificationCount = room.getUnreadNotificationCount();
const notifBadges = notificationCount > 0 && _shouldShowNotifBadge(roomNotifState);
const mentionBadges = highlight && _shouldShowMentionBadge(roomNotifState);
const notifBadges = notificationCount > 0 && shouldShowNotifBadge(roomNotifState);
const mentionBadges = highlight && shouldShowMentionBadge(roomNotifState);
const isInvite = room.hasMembershipState(MatrixClientPeg.get().credentials.userId, 'invite');
const badges = notifBadges || mentionBadges || isInvite;