mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 17:26:12 +00:00
Added logging
This commit is contained in:
parent
8a9360e07c
commit
0d36bd7105
1 changed files with 4 additions and 1 deletions
|
@ -474,8 +474,11 @@ class NotificationHelper {
|
|||
// This assumes the messages are properly ordered
|
||||
if (groupMessages.get(group).size() < MAX_NOTIFICATION_COUNT)
|
||||
groupMessages.get(group).add(message);
|
||||
else
|
||||
else {
|
||||
EntityLog.log(context, "Notify max group=" + group +
|
||||
" count=" + groupMessages.get(group).size() + "/" + MAX_NOTIFICATION_COUNT);
|
||||
db.message().setMessageUiIgnored(message.id, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue