Add support for reporting rooms and users

This was added in recent Matrix versions, and a desperately needed
feature.
This commit is contained in:
Joshua Goins
2025-09-09 17:41:46 +02:00
parent 197d7ce8e8
commit 03d5955c8d
10 changed files with 108 additions and 1 deletions

View File

@@ -622,6 +622,11 @@ public:
*/
QString pinnedMessage() const;
/**
* @brief Send a report about this room.
*/
Q_INVOKABLE void report(const QString &reason);
private:
bool m_visible = false;