mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Introduce a local mechanism for managing the app's badge count
This commit is contained in:
@@ -339,6 +339,10 @@ class ClientProxy: ClientProxyProtocol {
|
||||
client.canDeactivateAccount()
|
||||
}
|
||||
|
||||
var totalUnreadNotifications: UInt64 {
|
||||
client.totalUnreadNotifications()
|
||||
}
|
||||
|
||||
var userIDServerName: String? {
|
||||
do {
|
||||
return try client.userIdServerName()
|
||||
|
||||
@@ -137,6 +137,9 @@ protocol ClientProxyProtocol: AnyObject {
|
||||
|
||||
var pusherNotificationClientIdentifier: String? { get }
|
||||
|
||||
/// The total number of unread notifications across all joined, non-muted rooms, as computed by the SDK.
|
||||
var totalUnreadNotifications: UInt64 { get }
|
||||
|
||||
var mediaLoader: MediaLoaderProtocol { get }
|
||||
|
||||
var contentScanner: ContentScannerProxyProtocol? { get }
|
||||
|
||||
Reference in New Issue
Block a user