                                                                pushRule: pushRule)
             
             onComplete(notificationContent)
-        })
+        }
     }
     
     func notificationContent(withTitle title: String?,

                }
                
                let roomDisplayName = room.summary.displayname
                let myUserId = account.mxSession.myUser.userId
                let isIncomingEvent = event.sender != myUserId
                
                // Display the room name only if it is different than the sender name

            return
        }
        
        mxSession.event(withEventId: eventId, inRoom: roomId, success: { [weak self] (event) in
            guard let self = self else {
                NSLog("[NotificationService] fetchEvent: MXSession.event method returned too late successfully.")
                return
