mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
Fix SIGNAL SLOT issue on mtx types
This commit is contained in:
parent
8d04236fbd
commit
89015b9f18
2 changed files with 2 additions and 0 deletions
|
@ -92,6 +92,7 @@ init(const QString &user_id)
|
||||||
qRegisterMetaType<RoomSearchResult>();
|
qRegisterMetaType<RoomSearchResult>();
|
||||||
qRegisterMetaType<RoomInfo>();
|
qRegisterMetaType<RoomInfo>();
|
||||||
qRegisterMetaType<QMap<QString, RoomInfo>>();
|
qRegisterMetaType<QMap<QString, RoomInfo>>();
|
||||||
|
qRegisterMetaType<QMap<QString, mtx::responses::Notifications>>();
|
||||||
qRegisterMetaType<std::map<QString, RoomInfo>>();
|
qRegisterMetaType<std::map<QString, RoomInfo>>();
|
||||||
qRegisterMetaType<std::map<QString, mtx::responses::Timeline>>();
|
qRegisterMetaType<std::map<QString, mtx::responses::Timeline>>();
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
#include <nlohmann/json.hpp>
|
#include <nlohmann/json.hpp>
|
||||||
|
|
||||||
#include "Logging.h"
|
#include "Logging.h"
|
||||||
|
#include "MatrixClient.h"
|
||||||
|
|
||||||
using mtx::events::state::JoinRule;
|
using mtx::events::state::JoinRule;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue