mirror of https://github.com/M66B/FairEmail.git
Set ignored for messages in disabled channels
This commit is contained in:
parent
8f14ee9240
commit
6fea8eb98a
|
@ -3893,6 +3893,7 @@ class Core {
|
|||
if (channelId != null) {
|
||||
NotificationChannel channel = nm.getNotificationChannel(channelId);
|
||||
if (channel != null && channel.getImportance() == NotificationManager.IMPORTANCE_NONE) {
|
||||
db.message().setMessageUiIgnored(message.id, true);
|
||||
Log.i("Notify disabled=" + message.id + " channel=" + channelId);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue