remove unnecessary changes

This commit is contained in:
Vitaliy 2018-09-28 16:51:39 +03:00 committed by GitHub
parent 5540b2e31b
commit 41271f87e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1203,15 +1203,15 @@ class TelegramHelper private constructor() {
//listener?.onTelegramChatsChanged() //listener?.onTelegramChatsChanged()
} }
} }
// TdApi.UpdateChatNotificationSettings.CONSTRUCTOR -> { TdApi.UpdateChatNotificationSettings.CONSTRUCTOR -> {
// val update = obj as TdApi.UpdateChatNotificationSettings val update = obj as TdApi.UpdateChatNotificationSettings
// val chat = chats[update.chatId] val chat = chats[update.chatId]
// if (chat != null) { if (chat != null) {
// synchronized(chat) { synchronized(chat) {
// chat.notificationSettings = update.notificationSettings chat.notificationSettings = update.notificationSettings
// } }
// } }
// } }
TdApi.UpdateFile.CONSTRUCTOR -> { TdApi.UpdateFile.CONSTRUCTOR -> {
val updateFile = obj as TdApi.UpdateFile val updateFile = obj as TdApi.UpdateFile