From 8ee5abe570d03306c300e14479b43948233dc3e1 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Wed, 24 Feb 2021 08:33:02 -0400 Subject: [PATCH] fix: chat identifier / fetch more messages order --- src/app/chat/views/message_list.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/chat/views/message_list.nim b/src/app/chat/views/message_list.nim index efa5a79019..23ede9c4b0 100644 --- a/src/app/chat/views/message_list.nim +++ b/src/app/chat/views/message_list.nim @@ -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