From b0c353c55080d2d40433eca21a3d01cccbe871ca Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 17 Jun 2022 19:51:08 +0200 Subject: [PATCH] Remove remaining groups code --- CMakeLists.txt | 2 +- io.github.NhekoReborn.Nheko.yaml | 2 +- src/MatrixClient.cpp | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a4f1c20..700609ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 "") diff --git a/io.github.NhekoReborn.Nheko.yaml b/io.github.NhekoReborn.Nheko.yaml index 91fb1a08..2f502c96 100644 --- a/io.github.NhekoReborn.Nheko.yaml +++ b/io.github.NhekoReborn.Nheko.yaml @@ -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 diff --git a/src/MatrixClient.cpp b/src/MatrixClient.cpp index c565176e..e1c890ed 100644 --- a/src/MatrixClient.cpp +++ b/src/MatrixClient.cpp @@ -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(); qRegisterMetaType(); qRegisterMetaType(); - qRegisterMetaType(); - qRegisterMetaType(); qRegisterMetaType(); // qRegisterMetaType(); qRegisterMetaType>();