summary refs log tree commit diff
path: root/src/timeline/TimelineModel.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-08-06 03:00:19 +0000
committerGitHub <noreply@github.com>2021-08-06 03:00:19 +0000
commit11f9a9d0443e2bca5a5a0af5f43715eb88dab30a (patch)
tree1c76cc27296a0268f7fb1c3817d9578030b87696 /src/timeline/TimelineModel.cpp
parentMerge pull request #666 from LorenDB/qml-all-the-things (diff)
parentthis is not needed for translations (diff)
downloadnheko-11f9a9d0443e2bca5a5a0af5f43715eb88dab30a.tar.xz
Merge pull request #669 from Nheko-Reborn/sticker-editor
Sticker editor
Diffstat (limited to 'src/timeline/TimelineModel.cpp')
-rw-r--r--src/timeline/TimelineModel.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp

index a8adf05b..10d9788d 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp
@@ -308,6 +308,15 @@ qml_mtx_events::fromRoomEventType(qml_mtx_events::EventType t) case qml_mtx_events::KeyVerificationDone: case qml_mtx_events::KeyVerificationReady: return mtx::events::EventType::RoomMessage; + //! m.image_pack, currently im.ponies.room_emotes + case qml_mtx_events::ImagePackInRoom: + return mtx::events::EventType::ImagePackRooms; + //! m.image_pack, currently im.ponies.user_emotes + case qml_mtx_events::ImagePackInAccountData: + return mtx::events::EventType::ImagePackInAccountData; + //! m.image_pack.rooms, currently im.ponies.emote_rooms + case qml_mtx_events::ImagePackRooms: + return mtx::events::EventType::ImagePackRooms; default: return mtx::events::EventType::Unsupported; };