mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-15 22:33:03 +00:00
Disable notifications for group chats
This commit is contained in:
@@ -468,7 +468,7 @@ public class MessageNotifier {
|
||||
slideDeck = ((MediaMmsMessageRecord)record).getSlideDeck();
|
||||
}
|
||||
|
||||
if (threadRecipients == null || !threadRecipients.isMuted()) {
|
||||
if ((threadRecipients == null || !threadRecipients.isMuted()) && (threadRecipients == null || !threadRecipients.isGroupRecipient())) {
|
||||
notificationState.addNotification(new NotificationItem(id, mms, recipient, conversationRecipient, threadRecipients, threadId, body, timestamp, slideDeck));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user