Skip to content
Snippets Groups Projects
Verified Commit 213a28ee authored by Joe Donofry's avatar Joe Donofry
Browse files

Add notification authorization for badges on macOS

parent a1968110
No related branches found
No related tags found
No related merge requests found
Pipeline #3470 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment