mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-03 10:14:04 +00:00
chore: remove useless condition from asyncLoadInitialMessagesForChat
This commit is contained in:
parent
865ed32deb
commit
3acf7dbebf
@ -424,13 +424,9 @@ QtObject:
|
||||
if(self.initialMessagesFetched(chatId)):
|
||||
return
|
||||
|
||||
if(self.getMessageCursor(chatId).getValue().len > 0):
|
||||
return
|
||||
|
||||
# we're here if initial messages are not loaded yet
|
||||
self.asyncLoadMoreMessagesForChat(chatId)
|
||||
|
||||
|
||||
proc addReaction*(self: Service, chatId: string, messageId: string, emojiId: int) =
|
||||
try:
|
||||
let response = status_go.addReaction(chatId, messageId, emojiId)
|
||||
|
Loading…
x
Reference in New Issue
Block a user