remove unnecessary code in getChatListIds
This commit is contained in:
parent
fb118fa1a4
commit
dd08aa3d31
2 changed files with 2 additions and 4 deletions
|
@ -134,9 +134,7 @@ class TelegramHelper private constructor() {
|
|||
}
|
||||
}
|
||||
|
||||
fun getChatListIds(): List<Long> {
|
||||
return getChatList().map { it.chatId }
|
||||
}
|
||||
fun getChatListIds() = getChatList().map { it.chatId }
|
||||
|
||||
fun getChatIds() = chats.keys().toList()
|
||||
|
||||
|
|
Loading…
Reference in a new issue