Remove remaining groups code

This commit is contained in:
Nicolas Werner 2022-06-17 19:51:08 +02:00
parent 1f17875721
commit b0c353c550
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
3 changed files with 2 additions and 6 deletions

View file

@ -579,7 +579,7 @@ if(USE_BUNDLED_MTXCLIENT)
FetchContent_Declare(
MatrixClient
GIT_REPOSITORY https://github.com/Nheko-Reborn/mtxclient.git
GIT_TAG e13a71d3ca883e8ed88e0b60adb0914120328bac
GIT_TAG d34fb853256c5d3779f6a837e17ee2583d1c4089
)
set(BUILD_LIB_EXAMPLES OFF CACHE INTERNAL "")
set(BUILD_LIB_TESTS OFF CACHE INTERNAL "")

View file

@ -203,7 +203,7 @@ modules:
buildsystem: cmake-ninja
name: mtxclient
sources:
- commit: e13a71d3ca883e8ed88e0b60adb0914120328bac
- commit: d34fb853256c5d3779f6a837e17ee2583d1c4089
#tag: v0.7.0
type: git
url: https://github.com/Nheko-Reborn/mtxclient.git

View file

@ -21,8 +21,6 @@ Q_DECLARE_METATYPE(mtx::responses::Notifications)
Q_DECLARE_METATYPE(mtx::responses::Rooms)
Q_DECLARE_METATYPE(mtx::responses::Sync)
Q_DECLARE_METATYPE(mtx::responses::StateEvents)
Q_DECLARE_METATYPE(mtx::responses::JoinedGroups)
Q_DECLARE_METATYPE(mtx::responses::GroupProfile)
// Q_DECLARE_METATYPE(nlohmann::json)
Q_DECLARE_METATYPE(std::string)
@ -54,8 +52,6 @@ init()
qRegisterMetaType<mtx::responses::Rooms>();
qRegisterMetaType<mtx::responses::Sync>();
qRegisterMetaType<mtx::responses::StateEvents>();
qRegisterMetaType<mtx::responses::JoinedGroups>();
qRegisterMetaType<mtx::responses::GroupProfile>();
qRegisterMetaType<std::string>();
// qRegisterMetaType<nlohmann::json>();
qRegisterMetaType<std::vector<std::string>>();