fix: chat identifier / fetch more messages order

This commit is contained in:
Richard Ramos 2021-02-24 08:33:02 -04:00 committed by Iuri Matias
parent 6211d094dc
commit 8ee5abe570
1 changed files with 2 additions and 1 deletions

View File

@ -74,10 +74,11 @@ QtObject:
new(result, delete)
result.messages = @[]
result.id = chatId
result.messages.add(result.fetchMoreMessagesButton())
if addFakeMessages:
result.addFakeMessages()
result.messages.add(result.fetchMoreMessagesButton())
result.messageIndex = initTable[string, int]()
result.timedoutMessages = initHashSet[string]()
result.status = status