Update the value of notificationBodyLocalizationKey to "NOTIFICATION".

This commit is contained in:
Doug
2021-08-12 09:35:30 +01:00
parent 73d0762d32
commit d6dc900a9b
@@ -1910,6 +1910,9 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni
// Add observer on settings changes.
[[MXKAppSettings standardAppSettings] addObserver:self forKeyPath:@"showAllEventsInRoomHistory" options:0 context:nil];
// Override the default notification content. This must happen before the account manager prepares the session.
MXKAppSettings.standardAppSettings.notificationBodyLocalizationKey = @"NOTIFICATION";
// Prepare account manager
MXKAccountManager *accountManager = [MXKAccountManager sharedManager];