Display reactions on last message again

This commit is contained in:
Sebastian Wolf 2023-11-20 21:53:57 +01:00
parent 8d59ee4c00
commit 5b2fa38f7e
No known key found for this signature in database
GPG key ID: CEA9522B5F38A90A

View file

@ -135,6 +135,8 @@ ListItem {
} else if (messageListItem.chatReactions) {
Debug.log("Using chat reactions")
messageListItem.messageReactions = chatReactions
showItemCompletelyTimer.requestedIndex = index;
showItemCompletelyTimer.start();
} else {
Debug.log("Obtaining message reactions")
tdLibWrapper.getMessageAvailableReactions(messageListItem.chatId, messageListItem.messageId);
@ -281,6 +283,7 @@ ListItem {
interval: 200
triggeredOnStart: false
onTriggered: {
Debug.log("Show item completely timer triggered, requested index: " + requestedIndex + ", current index: " + index)
if (requestedIndex === index) {
chatView.highlightMoveDuration = -1;
chatView.highlightResizeDuration = -1;