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…
Reference in New Issue