mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 12:38:48 +03:00
Update mtxclient commit hash
This commit is contained in:
parent
138b0a6b86
commit
bdee662bbd
3 changed files with 3 additions and 4 deletions
|
@ -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…
Reference in a new issue