summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Cache.cpp1
-rw-r--r--src/Cache.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp

index eee75f25..ef0f951e 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp
@@ -92,6 +92,7 @@ init(const QString &user_id) qRegisterMetaType<RoomSearchResult>(); qRegisterMetaType<RoomInfo>(); qRegisterMetaType<QMap<QString, RoomInfo>>(); + qRegisterMetaType<QMap<QString, mtx::responses::Notifications>>(); qRegisterMetaType<std::map<QString, RoomInfo>>(); qRegisterMetaType<std::map<QString, mtx::responses::Timeline>>(); diff --git a/src/Cache.h b/src/Cache.h
index 5ec79c3b..302bb65b 100644 --- a/src/Cache.h +++ b/src/Cache.h
@@ -32,6 +32,7 @@ #include <nlohmann/json.hpp> #include "Logging.h" +#include "MatrixClient.h" using mtx::events::state::JoinRule;