diff --git a/CMakeLists.txt b/CMakeLists.txt index 06af4bbe..146a3e25 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 c8849cd033bb59bee39f3fb2eaca953853731eb2 + GIT_TAG f8a9cbbb25ea145a23506c2f9386f6c61401bed0 ) 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 3bcfdf52..26c2020f 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: c8849cd033bb59bee39f3fb2eaca953853731eb2 + - commit: f8a9cbbb25ea145a23506c2f9386f6c61401bed0 #tag: v0.9.2 type: git url: https://github.com/Nheko-Reborn/mtxclient.git diff --git a/resources/qml/delegates/MessageDelegate.qml b/resources/qml/delegates/MessageDelegate.qml index 9126186e..c0bcec0d 100644 --- a/resources/qml/delegates/MessageDelegate.qml +++ b/resources/qml/delegates/MessageDelegate.qml @@ -116,7 +116,7 @@ Item { } DelegateChoice { - roleValue: MtxEvent.ConfettiMessage + roleValue: MtxEvent.ElementEffectMessage TextMessage { formatted: d.formattedBody diff --git a/src/Utils.cpp b/src/Utils.cpp index eca5cb29..2bf8eb3b 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -215,20 +215,20 @@ utils::getMessageDescription(const TimelineEvent &event, const QString &localUser, const QString &displayName) { - using Audio = mtx::events::RoomEvent; - using Emote = mtx::events::RoomEvent; - using File = mtx::events::RoomEvent; - using Image = mtx::events::RoomEvent; - using Notice = mtx::events::RoomEvent; - using Text = mtx::events::RoomEvent; - using Unknown = mtx::events::RoomEvent; - using Video = mtx::events::RoomEvent; - using Confetti = mtx::events::RoomEvent; - using CallInvite = mtx::events::RoomEvent; - using CallAnswer = mtx::events::RoomEvent; - using CallHangUp = mtx::events::RoomEvent; - using CallReject = mtx::events::RoomEvent; - using Encrypted = mtx::events::EncryptedEvent; + using Audio = mtx::events::RoomEvent; + using Emote = mtx::events::RoomEvent; + using File = mtx::events::RoomEvent; + using Image = mtx::events::RoomEvent; + using Notice = mtx::events::RoomEvent; + using Text = mtx::events::RoomEvent; + using Unknown = mtx::events::RoomEvent; + using Video = mtx::events::RoomEvent; + using ElementEffect = mtx::events::RoomEvent; + using CallInvite = mtx::events::RoomEvent; + using CallAnswer = mtx::events::RoomEvent; + using CallHangUp = mtx::events::RoomEvent; + using CallReject = mtx::events::RoomEvent; + using Encrypted = mtx::events::EncryptedEvent; if (std::holds_alternative