Refactor ChatBarCacheTest

This commit is contained in:
Tobias Fella
2026-01-25 23:58:24 +01:00
committed by Tobias Fella
parent 8b6f5447e1
commit fa4533e757
5 changed files with 91 additions and 44 deletions

View File

@@ -35,6 +35,7 @@ struct Changes {
QJsonObject fullJson;
};
QList<Event> events;
QList<Event> stateEvents;
};
struct RoomData {
@@ -67,6 +68,7 @@ public:
*/
QString createServerNoticesRoom(const QString &matrixId);
QString sendEvent(const QString &roomId, const QString &eventType, const QJsonObject &content);
QString sendStateEvent(const QString &roomId, const QString &eventType, const QString &stateKey, const QJsonObject &content);
private:
QHttpServer m_server;