From cc24288a2d5b4d263dcef68f7dcbdb967994015b Mon Sep 17 00:00:00 2001 From: Chumva Date: Fri, 13 Jul 2018 14:11:32 +0300 Subject: [PATCH] fix tabs --- .../src/net/osmand/telegram/helpers/TelegramHelper.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd-telegram/src/net/osmand/telegram/helpers/TelegramHelper.kt b/OsmAnd-telegram/src/net/osmand/telegram/helpers/TelegramHelper.kt index dd6e87577c..748537acb9 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/helpers/TelegramHelper.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/helpers/TelegramHelper.kt @@ -105,7 +105,7 @@ class TelegramHelper private constructor() { fun getUser(id: Int) = users[id] fun getUserMessage(user: TdApi.User) = - usersLocationMessages.values.firstOrNull { it.senderUserId == user.id } + usersLocationMessages.values.firstOrNull { it.senderUserId == user.id } fun getChatMessages(chatId: Long) = usersLocationMessages.values.filter { it.chatId == chatId } @@ -133,7 +133,7 @@ class TelegramHelper private constructor() { private fun updateChatIds() { chatTitles.clear() for (chatEntry in chats.entries) { - chatTitles[chatEntry.value.title] = chatEntry.key + chatTitles[chatEntry.value.title] = chatEntry.key } }