From 176c09b55ac7bd74e935a2f46cb990e16353a59e Mon Sep 17 00:00:00 2001 From: Alex Sytnyk Date: Mon, 10 Sep 2018 12:25:29 +0300 Subject: [PATCH] Try to fix Jenkins build --- .../osmand/telegram/helpers/TelegramHelper.kt | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/OsmAnd-telegram/src/net/osmand/telegram/helpers/TelegramHelper.kt b/OsmAnd-telegram/src/net/osmand/telegram/helpers/TelegramHelper.kt index 8da43ee783..f7ed452e60 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/helpers/TelegramHelper.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/helpers/TelegramHelper.kt @@ -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