Update notification priorities to MAX (Heads-up) for DMs and Active Peers

This commit is contained in:
callebtc
2026-01-18 02:50:15 +07:00
parent 6eb7d79ed0
commit d773f86655
@@ -241,7 +241,7 @@ class NotificationManager(
.setContentText(contentText) .setContentText(contentText)
.setContentIntent(pendingIntent) .setContentIntent(pendingIntent)
.setAutoCancel(true) .setAutoCancel(true)
.setPriority(NotificationCompat.PRIORITY_HIGH) .setPriority(NotificationCompat.PRIORITY_MAX)
.setCategory(NotificationCompat.CATEGORY_MESSAGE) .setCategory(NotificationCompat.CATEGORY_MESSAGE)
.addPerson(person) .addPerson(person)
.setShowWhen(true) .setShowWhen(true)
@@ -343,7 +343,7 @@ class NotificationManager(
.setContentText(contentText) .setContentText(contentText)
.setContentIntent(pendingIntent) .setContentIntent(pendingIntent)
.setAutoCancel(true) .setAutoCancel(true)
.setPriority(NotificationCompat.PRIORITY_MIN) .setPriority(NotificationCompat.PRIORITY_MAX)
.setCategory(NotificationCompat.CATEGORY_MESSAGE) .setCategory(NotificationCompat.CATEGORY_MESSAGE)
.setShowWhen(true) .setShowWhen(true)
.setWhen(System.currentTimeMillis()) .setWhen(System.currentTimeMillis())