EventSource Refactor

Move showing th event source to a call to RoomManager. This means the SourceRole is no longer required in the message and search models
This commit is contained in:
James Graham
2023-09-15 10:54:04 +00:00
parent ec4c156a8c
commit c04ddfde26
13 changed files with 38 additions and 36 deletions

View File

@@ -195,6 +195,11 @@ public:
*/
Q_INVOKABLE void maximizeMedia(int index);
/**
* @brief Show the JSON source for the given event Matrix ID
*/
Q_INVOKABLE void viewEventSource(const QString &eventId);
/**
* @brief Call this when the current used connection is dropped.
*/
@@ -261,6 +266,11 @@ Q_SIGNALS:
*/
void showMaximizedMedia(int index);
/**
* @brief Request the JSON source for the given event ID is shown.
*/
void showEventSource(const QString &eventId);
/**
* @brief Show the direct chat confirmation dialog.
*