Display reactions on last message again
This commit is contained in:
parent
8d59ee4c00
commit
5b2fa38f7e
1 changed files with 3 additions and 0 deletions
|
@ -135,6 +135,8 @@ ListItem {
|
||||||
} else if (messageListItem.chatReactions) {
|
} else if (messageListItem.chatReactions) {
|
||||||
Debug.log("Using chat reactions")
|
Debug.log("Using chat reactions")
|
||||||
messageListItem.messageReactions = chatReactions
|
messageListItem.messageReactions = chatReactions
|
||||||
|
showItemCompletelyTimer.requestedIndex = index;
|
||||||
|
showItemCompletelyTimer.start();
|
||||||
} else {
|
} else {
|
||||||
Debug.log("Obtaining message reactions")
|
Debug.log("Obtaining message reactions")
|
||||||
tdLibWrapper.getMessageAvailableReactions(messageListItem.chatId, messageListItem.messageId);
|
tdLibWrapper.getMessageAvailableReactions(messageListItem.chatId, messageListItem.messageId);
|
||||||
|
@ -281,6 +283,7 @@ ListItem {
|
||||||
interval: 200
|
interval: 200
|
||||||
triggeredOnStart: false
|
triggeredOnStart: false
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
|
Debug.log("Show item completely timer triggered, requested index: " + requestedIndex + ", current index: " + index)
|
||||||
if (requestedIndex === index) {
|
if (requestedIndex === index) {
|
||||||
chatView.highlightMoveDuration = -1;
|
chatView.highlightMoveDuration = -1;
|
||||||
chatView.highlightResizeDuration = -1;
|
chatView.highlightResizeDuration = -1;
|
||||||
|
|
Loading…
Reference in a new issue