This commit is contained in:
callebtc
2025-07-25 19:17:36 +02:00
committed by GitHub
parent 34b3d8dd82
commit 271df2e720
4 changed files with 45 additions and 3 deletions
@@ -306,6 +306,20 @@ class NotificationManager(private val context: Context) {
return pendingNotifications.values.sumOf { it.size }
}
/**
* Get app background state for reactive read receipts
*/
fun getAppBackgroundState(): Boolean {
return isAppInBackground
}
/**
* Get current private chat peer for reactive read receipts
*/
fun getCurrentPrivateChatPeer(): String? {
return currentPrivateChatPeer
}
/**
* Get pending notifications for debugging
*/