mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
[WIP] Topics
This commit is contained in:
@@ -278,7 +278,7 @@ public extension TelegramEngine.EngineData.Item {
|
||||
guard let view = view as? MessageHistoryThreadInfoView else {
|
||||
preconditionFailure()
|
||||
}
|
||||
guard let data = view.info?.get(MessageHistoryThreadData.self) else {
|
||||
guard let data = view.info?.data.get(MessageHistoryThreadData.self) else {
|
||||
return EnginePeer.NotificationSettings(TelegramPeerNotificationSettings.defaultSettings)
|
||||
}
|
||||
return EnginePeer.NotificationSettings(data.notificationSettings)
|
||||
|
||||
Reference in New Issue
Block a user