Matrix: the emoji picker does not remember what was just used #229

Closed
opened 2026-09-13 11:59:57 -04:00 by Salastil · 1 comment
Owner

The "Recently used emoji" module keeps the last-used list in account data so it follows the person between clients. moho's picker starts the same way every time, and nothing is written back.

Small, and the kind of thing that is noticed every single time somebody reacts.

The "Recently used emoji" module keeps the last-used list in account data so it follows the person between clients. moho's picker starts the same way every time, and nothing is written back. Small, and the kind of thing that is noticed every single time somebody reacts.
Salastil added the featurelow priority labels 2026-09-13 11:59:57 -04:00
Author
Owner

Finished.

io.element.recent_emoji rather than anything stable, because there is no standardised event for this and Element's is what every other client reads — writing something of our own would produce a list that travels nowhere, which is the whole point of not keeping it locally.

The [emoji, count] pairs are carried rather than used. Nothing here sorts by the count, but restarting it at one on every pick would quietly reorder somebody's list in the client that does.

Where the account keeps the list, that copy wins; everything else keeps the window's local one, since nothing else here has anywhere to put it and on the guild-bound services a travelling list would travel to places its entries cannot be sent. The live probe found nine emoji already on this account.

db65b8b

Finished. `io.element.recent_emoji` rather than anything stable, because there is no standardised event for this and Element's is what every other client reads — writing something of our own would produce a list that travels nowhere, which is the whole point of not keeping it locally. The `[emoji, count]` pairs are carried rather than used. Nothing here sorts by the count, but restarting it at one on every pick would quietly reorder somebody's list in the client that does. Where the account keeps the list, that copy wins; everything else keeps the window's local one, since nothing else here has anywhere to put it and on the guild-bound services a travelling list would travel to places its entries cannot be sent. The live probe found nine emoji already on this account. [db65b8b](https://git.salastil.com/Salastil/moho/commit/db65b8b)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Salastil/moho#229