From bdee662bbd58544b36dab66963858c4fe6ae825d Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Sat, 8 Apr 2023 19:08:11 -0400 Subject: [PATCH] Update mtxclient commit hash --- CMakeLists.txt | 2 +- io.github.NhekoReborn.Nheko.yaml | 2 +- src/timeline/TimelineModel.cpp | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 146a3e25..20fcb029 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -602,7 +602,7 @@ if(USE_BUNDLED_MTXCLIENT) FetchContent_Declare( MatrixClient GIT_REPOSITORY https://github.com/Nheko-Reborn/mtxclient.git - GIT_TAG f8a9cbbb25ea145a23506c2f9386f6c61401bed0 + GIT_TAG dd2bdbd104ae8f70f82da9ff7b4b60007fc105c3 ) 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 26c2020f..97d0b770 100644 --- a/io.github.NhekoReborn.Nheko.yaml +++ b/io.github.NhekoReborn.Nheko.yaml @@ -213,7 +213,7 @@ modules: buildsystem: cmake-ninja name: mtxclient sources: - - commit: f8a9cbbb25ea145a23506c2f9386f6c61401bed0 + - commit: dd2bdbd104ae8f70f82da9ff7b4b60007fc105c3 #tag: v0.9.2 type: git url: https://github.com/Nheko-Reborn/mtxclient.git diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index 9e667bce..918d1c0b 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -2974,8 +2974,7 @@ TimelineModel::setEdit(const QString &newEdit) if (msgType == mtx::events::MessageType::Emote) input()->setText("/me " + editText); - else if (msgType == mtx::events::MessageType::ElementEffect) - { + else if (msgType == mtx::events::MessageType::ElementEffect) { auto u = std::get_if>(&e); auto msgtypeString = u ? u->content.msgtype : "";