remove unnecessary changes
This commit is contained in:
parent
5a71f738df
commit
7a8caa4831
1 changed files with 2 additions and 2 deletions
|
@ -235,7 +235,7 @@ class LiveNowTabFragment : Fragment(), TelegramListener, TelegramIncomingMessage
|
|||
}
|
||||
adapter.items = res
|
||||
}
|
||||
|
||||
|
||||
private fun convertToLocationItems(
|
||||
chat: TdApi.Chat,
|
||||
messages: List<TdApi.Message>,
|
||||
|
@ -243,7 +243,7 @@ class LiveNowTabFragment : Fragment(), TelegramListener, TelegramIncomingMessage
|
|||
): List<LocationItem> {
|
||||
val res = mutableListOf<LocationItem>()
|
||||
messages.forEach { message ->
|
||||
if ((!addOnlyViaBotMessages || message.viaBotUserId != 0)) {
|
||||
if (!addOnlyViaBotMessages || message.viaBotUserId != 0) {
|
||||
TelegramUiHelper.messageToLocationItem(telegramHelper, chat, message)?.also {
|
||||
res.add(it)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue