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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user