This supports displaying stickers stored as room states, as specified in MSC2545.
Type: add
Differential D166
Support emote rooms in MSC2545 tusooa on Aug 11 2024, 10:09 PM. Authored by Tags None Referenced Files None Subscribers None
Details
This supports displaying stickers stored as room states, as specified in MSC2545. Type: add Create a room. Record its room id. Send an account data event with type "im.ponies.emote_rooms" and the following content, replacing <room id> with the room id of the room just created: { "rooms": { "<room id>": { "": {} } } } Send a state event in the room, with type "im.ponies.room_emotes" and the following content, replacing <room id> with the room id of the room just created: { "images": { "nacho趴": { "body": "🐱", "info": { "h": 188, "mimetype": "image/png", "size": 139529, "thumbnail_info": { "h": 188, "mimetype": "image/png", "size": 139529, "w": 256 }, "thumbnail_url": "mxc://nya.one/5e911bb4f069befa1f92d5d7c2852fd94317428a", "w": 256 }, "url": "mxc://nya.one/5e911bb4f069befa1f92d5d7c2852fd94317428a" } }, "pack": { "display_name": "Test pack" } } Open kazv and open the sticker picker. Verify that you have two tabs, the second titled "Test pack". Click on "Test pack". Verify that you can see one sticker. Click on the sticker. Verify that it is sent.
Diff Detail
|