mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
do not show device-message system-notification
This commit is contained in:
@@ -178,6 +178,12 @@ abstract class MessageNotifier {
|
||||
lastAudibleNotification = System.currentTimeMillis();
|
||||
}
|
||||
|
||||
if (dcContext.getChat(chatId).isDeviceTalk()) {
|
||||
// currently, we just never notify on device chat.
|
||||
// esp. on first start, this is annoying.
|
||||
return;
|
||||
}
|
||||
|
||||
synchronized (lock) {
|
||||
addMessageToNotificationState(dcContext, chatId, messageId);
|
||||
if (notificationState.hasMultipleChats()) {
|
||||
|
||||
Reference in New Issue
Block a user