Silence summary notification when no new messages

This commit is contained in:
M66B 2023-10-24 19:56:43 +02:00
parent 68427ca6f1
commit 78cf6bef12
1 changed files with 2 additions and 0 deletions

View File

@ -5877,6 +5877,8 @@ class Core {
if (notify_summary) {
builder.setOnlyAlertOnce(new_messages <= 0);
if (new_messages <= 0)
builder.setSilent(true);
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O)
if (new_messages > 0)