Update MXKAppSettings use.

This commit is contained in:
giomfo
2015-04-15 14:46:54 +02:00
parent 915e1b55a5
commit 004825a3fc
6 changed files with 49 additions and 35 deletions
+2 -2
View File
@@ -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) {