From 7a8caa48311f71eef5a9d47b875c00e11582ddff Mon Sep 17 00:00:00 2001 From: Chumva Date: Tue, 28 Aug 2018 11:50:42 +0300 Subject: [PATCH] remove unnecessary changes --- .../src/net/osmand/telegram/ui/LiveNowTabFragment.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt b/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt index b3d26122fd..dc87f0ca2b 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt @@ -235,7 +235,7 @@ class LiveNowTabFragment : Fragment(), TelegramListener, TelegramIncomingMessage } adapter.items = res } - + private fun convertToLocationItems( chat: TdApi.Chat, messages: List, @@ -243,7 +243,7 @@ class LiveNowTabFragment : Fragment(), TelegramListener, TelegramIncomingMessage ): List { val res = mutableListOf() messages.forEach { message -> - if ((!addOnlyViaBotMessages || message.viaBotUserId != 0)) { + if (!addOnlyViaBotMessages || message.viaBotUserId != 0) { TelegramUiHelper.messageToLocationItem(telegramHelper, chat, message)?.also { res.add(it) }