Update mtxclient commit hash

pull/1407/head
Loren Burkholder 2 years ago committed by Nicolas Werner
parent 138b0a6b86
commit bdee662bbd
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 2
      CMakeLists.txt
  2. 2
      io.github.NhekoReborn.Nheko.yaml
  3. 3
      src/timeline/TimelineModel.cpp

@ -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 "")

@ -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

@ -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<mtx::events::RoomEvent<mtx::events::msg::ElementEffect>>(&e);
auto msgtypeString = u ? u->content.msgtype : "";

Loading…
Cancel
Save