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

@@ -222,8 +222,7 @@ public:
/**
* @brief Show a context menu for the given event.
*/
Q_INVOKABLE void
viewEventMenu(const QString &eventId, NeoChatRoom *room, NeochatRoomMember *sender, const QString &selectedText = {}, const QString &hoveredLink = {});
Q_INVOKABLE void viewEventMenu(const QString &eventId, NeoChatRoom *room, const QString &selectedText = {}, const QString &hoveredLink = {});
/**
* @brief Set a URL to be loaded as the initial room.