remove unnecessary code in getChatListIds

This commit is contained in:
Chumva 2018-08-09 17:54:15 +03:00
parent fb118fa1a4
commit dd08aa3d31
2 changed files with 2 additions and 4 deletions

View file

@ -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()