Verified Commit 213a28ee authored by Joe Donofry's avatar Joe Donofry
Browse files

Add notification authorization for badges on macOS

parent a1968110
Pipeline #3470 passed with stages
in 40 minutes and 35 seconds
......@@ -47,7 +47,7 @@ NotificationsManager::objCxxPostNotification(const QString &room_name,
const QString &informativeText,
const QString &bodyImagePath)
UNAuthorizationOptions options = UNAuthorizationOptionAlert + UNAuthorizationOptionSound;
UNAuthorizationOptions options = UNAuthorizationOptionAlert + UNAuthorizationOptionSound + UNAuthorizationOptionBadge;
UNUserNotificationCenter *center = [UNUserNotificationCenter currentNotificationCenter];
[center requestAuthorizationWithOptions:options
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment