mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 05:06:58 +02:00
BugFix: In-App notifications did not work.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user