remove unnecessary changes
This commit is contained in:
parent
5540b2e31b
commit
41271f87e8
1 changed files with 9 additions and 9 deletions
|
@ -1203,15 +1203,15 @@ class TelegramHelper private constructor() {
|
|||
//listener?.onTelegramChatsChanged()
|
||||
}
|
||||
}
|
||||
// TdApi.UpdateChatNotificationSettings.CONSTRUCTOR -> {
|
||||
// val update = obj as TdApi.UpdateChatNotificationSettings
|
||||
// val chat = chats[update.chatId]
|
||||
// if (chat != null) {
|
||||
// synchronized(chat) {
|
||||
// chat.notificationSettings = update.notificationSettings
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
TdApi.UpdateChatNotificationSettings.CONSTRUCTOR -> {
|
||||
val update = obj as TdApi.UpdateChatNotificationSettings
|
||||
val chat = chats[update.chatId]
|
||||
if (chat != null) {
|
||||
synchronized(chat) {
|
||||
chat.notificationSettings = update.notificationSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
TdApi.UpdateFile.CONSTRUCTOR -> {
|
||||
val updateFile = obj as TdApi.UpdateFile
|
||||
|
|
Loading…
Reference in a new issue