fix sticker packs being uneditable in some rooms

This commit is contained in:
Nicolas Werner 2021-08-11 00:39:01 +02:00
parent dbea031a86
commit 5e2526dac4
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -310,7 +310,7 @@ qml_mtx_events::fromRoomEventType(qml_mtx_events::EventType t)
return mtx::events::EventType::RoomMessage;
//! m.image_pack, currently im.ponies.room_emotes
case qml_mtx_events::ImagePackInRoom:
return mtx::events::EventType::ImagePackRooms;
return mtx::events::EventType::ImagePackInRoom;
//! m.image_pack, currently im.ponies.user_emotes
case qml_mtx_events::ImagePackInAccountData:
return mtx::events::EventType::ImagePackInAccountData;