Try to fix Jenkins build

This commit is contained in:
Alex Sytnyk 2018-09-10 12:25:29 +03:00
parent 1635c0995f
commit 176c09b55a

View file

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