Pass NeochatRoomMembers rather than RoomMembers to menus

This commit is contained in:
James Graham
2024-07-23 18:29:35 +01:00
parent 4e3a61d166
commit 32d4d9f75f
2 changed files with 6 additions and 4 deletions

View File

@@ -23,6 +23,7 @@
#include "models/sortfilterspacelistmodel.h"
#include "models/timelinemodel.h"
#include "models/userlistmodel.h"
#include "neochatroommember.h"
class NeoChatRoom;
class NeoChatConnection;
@@ -303,7 +304,7 @@ Q_SIGNALS:
* @brief Request to show a menu for the given event.
*/
void showMessageMenu(const QString &eventId,
const Quotient::RoomMember &author,
const NeochatRoomMember *author,
MessageComponentType::Type messageComponentType,
const QString &plainText,
const QString &htmlText,
@@ -313,7 +314,7 @@ Q_SIGNALS:
* @brief Request to show a menu for the given media event.
*/
void showFileMenu(const QString &eventId,
const Quotient::RoomMember &author,
const NeochatRoomMember *author,
MessageComponentType::Type messageComponentType,
const QString &plainText,
const QString &mimeType,