Fix SIGNAL SLOT issue on mtx types

This commit is contained in:
Joseph Donofry 2019-08-19 20:44:58 -04:00
parent 8d04236fbd
commit 89015b9f18
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB
2 changed files with 2 additions and 0 deletions

View file

@ -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>>();

View file

@ -32,6 +32,7 @@
#include <nlohmann/json.hpp>
#include "Logging.h"
#include "MatrixClient.h"
using mtx::events::state::JoinRule;