Fix SIGNAL SLOT issue on mtx types

pull/88/head
Joseph Donofry 5 years ago
parent 8d04236fbd
commit 89015b9f18
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
  1. 1
      src/Cache.cpp
  2. 1
      src/Cache.h

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

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

Loading…
Cancel
Save