mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
Fix notification edge case
This commit is contained in:
parent
aa560b60a9
commit
caff6e1da4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user