summary refs log tree commit diff
path: root/src/MatrixClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MatrixClient.cpp')
-rw-r--r--src/MatrixClient.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/MatrixClient.cpp b/src/MatrixClient.cpp
index 1ef2bd3a..c565176e 100644
--- a/src/MatrixClient.cpp
+++ b/src/MatrixClient.cpp
@@ -20,6 +20,7 @@ Q_DECLARE_METATYPE(mtx::responses::Messages)
 Q_DECLARE_METATYPE(mtx::responses::Notifications)
 Q_DECLARE_METATYPE(mtx::responses::Rooms)
 Q_DECLARE_METATYPE(mtx::responses::Sync)
+Q_DECLARE_METATYPE(mtx::responses::StateEvents)
 Q_DECLARE_METATYPE(mtx::responses::JoinedGroups)
 Q_DECLARE_METATYPE(mtx::responses::GroupProfile)
 
@@ -52,6 +53,7 @@ init()
     qRegisterMetaType<mtx::responses::Notifications>();
     qRegisterMetaType<mtx::responses::Rooms>();
     qRegisterMetaType<mtx::responses::Sync>();
+    qRegisterMetaType<mtx::responses::StateEvents>();
     qRegisterMetaType<mtx::responses::JoinedGroups>();
     qRegisterMetaType<mtx::responses::GroupProfile>();
     qRegisterMetaType<std::string>();