Don't leak memory

This commit is contained in:
James Graham
2024-07-23 19:14:49 +01:00
parent 32d4d9f75f
commit 8e4b20341d
7 changed files with 10 additions and 21 deletions

View File

@@ -232,7 +232,7 @@ public:
/**
* @brief Show a context menu for the given event.
*/
Q_INVOKABLE void viewEventMenu(const QString &eventId, NeoChatRoom *room, const QString &selectedText = {});
Q_INVOKABLE void viewEventMenu(const QString &eventId, NeoChatRoom *room, NeochatRoomMember *sender, const QString &selectedText = {});
ChatDocumentHandler *chatDocumentHandler() const;
void setChatDocumentHandler(ChatDocumentHandler *handler);