mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 20:56:57 +02:00
Update MXKAppSettings use.
This commit is contained in:
@@ -149,7 +149,7 @@ static MatrixSDKHandler *sharedHandler = nil;
|
||||
typeof(self) self = weakSelf;
|
||||
self.status = MatrixSDKHandlerStatusStoreDataReady;
|
||||
// // Check here whether the app user wants to display all the events
|
||||
// if ([[AppSettings sharedSettings] displayAllEvents]) {
|
||||
// if ([[AppSettings standardAppSettings] displayAllEvents]) {
|
||||
// // Use a filter to retrieve all the events (except kMXEventTypeStringPresence which are not related to a specific room)
|
||||
// self.eventsFilterForMessages = @[
|
||||
// kMXEventTypeStringRoomName,
|
||||
@@ -232,7 +232,7 @@ static MatrixSDKHandler *sharedHandler = nil;
|
||||
}];
|
||||
|
||||
// Check whether the app user wants notifications on new events
|
||||
if ([[MXKAppSettings sharedSettings] enableInAppNotifications]) {
|
||||
if ([[MXKAppSettings standardAppSettings] enableInAppNotifications]) {
|
||||
[self enableInAppNotifications:YES];
|
||||
}
|
||||
} failure:^(NSError *error) {
|
||||
|
||||
Reference in New Issue
Block a user