Simplify event context menu open
There's no reason to pass the author from QML to C++, we can query the author in the backend
This commit is contained in:
@@ -224,7 +224,7 @@ MessageDelegateBase {
|
||||
id: _private
|
||||
|
||||
function showMessageMenu() {
|
||||
RoomManager.viewEventMenu(root.eventId, root.room, root.author, root.Message.selectedText, root.Message.hoveredLink);
|
||||
RoomManager.viewEventMenu(root.eventId, root.room, root.Message.selectedText, root.Message.hoveredLink);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user