Fix notification edge case

This commit is contained in:
Mikunj 2019-09-11 09:27:33 +10:00
parent aa560b60a9
commit caff6e1da4

View File

@ -2101,7 +2101,11 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
Context context = ConversationActivity.this;
List<MarkedMessageInfo> messageIds = DatabaseFactory.getThreadDatabase(context).setRead(params[0], false);
MessageNotifier.updateNotification(context);
// Only notify on private chats
if (!getRecipient().isGroupRecipient()) {
MessageNotifier.updateNotification(context);
}
MarkReadReceiver.process(context, messageIds);
return null;