summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2019-08-19 20:44:58 -0400
committerJoseph Donofry <joedonofry@gmail.com>2019-08-19 20:44:58 -0400
commit89015b9f187a36b71eed49d03b44545c1976efed (patch)
tree901b3419e888f9d3de84508644c9e5b075411e55 /src
parentFix build issues w/ clang (diff)
downloadnheko-89015b9f187a36b71eed49d03b44545c1976efed.tar.xz
Fix SIGNAL SLOT issue on mtx types
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;