fix array

This commit is contained in:
Chumva 2018-10-03 18:04:25 +03:00
parent d70d2c6dc7
commit b57e3c268f

View file

@ -614,7 +614,7 @@ class TelegramHelper private constructor() {
if (msgId != null && msgId != 0L) {
val array = LongArray(1)
array[0] = msgId
client?.send(TdApi.DeleteMessages(chatId, arrayOf(msgId), true), UpdatesHandler())
client?.send(TdApi.DeleteMessages(chatId, array, true), UpdatesHandler())
}
needRefreshActiveLiveLocationMessages = true
}