[FIX] Increasing unread counter twice for new threads in DMs or with mentions (#20666)

pull/20704/head^2
Kevin Aleman 4 years ago committed by GitHub
parent 384a5f8f6e
commit 65c05de9dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/lib/server/lib/notifyUsersOnMessage.js

@ -69,7 +69,8 @@ const getUserIdsFromHighlights = (rid, message) => {
};
export function updateUsersSubscriptions(message, room) {
if (room != null) {
// Don't increase unread counter on thread messages
if (room != null && !message.tmid) {
const {
toAll,
toHere,

Loading…
Cancel
Save