BugFix: In-App notifications did not work.

This commit is contained in:
giomfo
2015-04-15 17:03:21 +02:00
parent 01946ea351
commit 84bfa19115
+1 -1
View File
@@ -418,7 +418,7 @@ static MatrixSDKHandler *sharedHandler = nil;
MXKEventFormatterError error;
NSString* messageText = [eventFormatter stringFromEvent:event withRoomState:roomState error:&error];
if (messageText.length && (error != MXKEventFormatterErrorNone)) {
if (messageText.length && (error == MXKEventFormatterErrorNone)) {
// Removing existing notification (if any)
if (self.mxNotification) {