mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix build
This commit is contained in:
parent
e64d88916d
commit
293e7b7578
@ -314,7 +314,7 @@ final class ChatMessageNotificationItemNode: NotificationItemNode {
|
|||||||
title = "📅 \(currentTitle)"
|
title = "📅 \(currentTitle)"
|
||||||
}
|
}
|
||||||
|
|
||||||
if let message, item.messages.first, let attribute = message.attributes.first(where: { $0 is NotificationInfoMessageAttribute }) as? NotificationInfoMessageAttribute, attribute.flags.contains(.muted), let currentTitle = title {
|
if let message = item.messages.first, let attribute = message.attributes.first(where: { $0 is NotificationInfoMessageAttribute }) as? NotificationInfoMessageAttribute, attribute.flags.contains(.muted), let currentTitle = title {
|
||||||
var isAction = false
|
var isAction = false
|
||||||
for media in message.media {
|
for media in message.media {
|
||||||
if media is TelegramMediaAction {
|
if media is TelegramMediaAction {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user