mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Remove commented code
This commit is contained in:
parent
09269e18ff
commit
eab8d12845
1 changed files with 0 additions and 2 deletions
|
@ -272,8 +272,6 @@ class NotificationService: UNNotificationServiceExtension {
|
|||
msgType = nil
|
||||
}
|
||||
|
||||
let isIncomingEvent = event.sender != currentUserId
|
||||
|
||||
// Display the room name only if it is different than the sender name
|
||||
if roomDisplayName != nil && roomDisplayName != eventSenderName {
|
||||
notificationTitle = NSString.localizedUserNotificationString(forKey: "MSG_FROM_USER_IN_ROOM_TITLE", arguments: [eventSenderName as Any, roomDisplayName as Any])
|
||||
|
|
Loading…
Reference in a new issue