Remove usage of creator

pull/1535/head
Nicolas Werner 1 year ago
parent 9a64db064a
commit b12892feb3
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 2
      CMakeLists.txt
  2. 2
      im.nheko.Nheko.yaml
  3. 1
      src/ui/NhekoGlobalObject.cpp

@ -601,7 +601,7 @@ if(USE_BUNDLED_MTXCLIENT)
FetchContent_Declare( FetchContent_Declare(
MatrixClient MatrixClient
GIT_REPOSITORY https://github.com/Nheko-Reborn/mtxclient.git GIT_REPOSITORY https://github.com/Nheko-Reborn/mtxclient.git
GIT_TAG 0a4cc9421a97bea81a8921f3f5e040f0a34278fc GIT_TAG 928ac33a0d0359464ac37716559a687fdc39f0de
) )
set(BUILD_LIB_EXAMPLES OFF CACHE INTERNAL "") set(BUILD_LIB_EXAMPLES OFF CACHE INTERNAL "")
set(BUILD_LIB_TESTS OFF CACHE INTERNAL "") set(BUILD_LIB_TESTS OFF CACHE INTERNAL "")

@ -214,7 +214,7 @@ modules:
buildsystem: cmake-ninja buildsystem: cmake-ninja
name: mtxclient name: mtxclient
sources: sources:
- commit: 0a4cc9421a97bea81a8921f3f5e040f0a34278fc - commit: 928ac33a0d0359464ac37716559a687fdc39f0de
#tag: v0.9.2 #tag: v0.9.2
type: git type: git
url: https://github.com/Nheko-Reborn/mtxclient.git url: https://github.com/Nheko-Reborn/mtxclient.git

@ -153,7 +153,6 @@ Nheko::createRoom(bool space,
if (space) { if (space) {
req.creation_content = mtx::events::state::Create{}; req.creation_content = mtx::events::state::Create{};
req.creation_content->type = mtx::events::state::room_type::space; req.creation_content->type = mtx::events::state::room_type::space;
req.creation_content->creator.clear();
req.creation_content->room_version.clear(); req.creation_content->room_version.clear();
} }

Loading…
Cancel
Save