mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 10:47:46 +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…
x
Reference in New Issue
Block a user