Use the ChatBar Component for new thread messages
{width=148 height=210}
Note: there is still an issue where after starting a new thread the threaded messages only appear after a restart as the root event needs re-downloading from the server to get the thread info added. My plan is to tackle this next.
This commit is contained in:
@@ -123,9 +123,10 @@ QQC2.Control {
|
||||
text: i18n("Reply in Thread")
|
||||
icon.name: "dialog-messages"
|
||||
onTriggered: {
|
||||
root.currentRoom.mainCache.replyId = "";
|
||||
root.currentRoom.mainCache.threadId = root.delegate.isThreaded ? root.delegate.threadRoot : root.delegate.eventId;
|
||||
root.currentRoom.editCache.editId = "";
|
||||
root.currentRoom.threadCache.replyId = "";
|
||||
root.currentRoom.threadCache.threadId = root.delegate.isThreaded ? root.delegate.threadRoot : root.delegate.eventId;
|
||||
root.currentRoom.mainCache.clearRelations();
|
||||
root.currentRoom.editCache.clearRelations();
|
||||
root.focusChatBar();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user