fix array
This commit is contained in:
parent
d70d2c6dc7
commit
b57e3c268f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue