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:
Tobias Fella
2025-08-29 15:17:19 +02:00
parent 003ab4f278
commit 889bf9cbc6
8 changed files with 10 additions and 11 deletions

View File

@@ -129,7 +129,7 @@ QQC2.Control {
TapHandler {
acceptedDevices: PointerDevice.TouchScreen
onLongPressed: RoomManager.viewEventMenu(root.eventId, root.Message.room, root.author, root.Message.selectedText, root.Message.hoveredLink);
onLongPressed: RoomManager.viewEventMenu(root.eventId, root.Message.room, root.Message.selectedText, root.Message.hoveredLink);
}
background: null