Le mardi 7 avril 2026, 17:08:42 heure d’été d’Europe centrale Stephen Paul
Weber a écrit :
My main concern
with storing a list of <mute> in bookmarks2 is the risk of
race condition.
If they mute two different users in two different apps at exactly the same
moment? Is this realistic with human users?
- user changes device (or has several client on same device), and one
notification arrives late for some reason.
- a client is offline, takes time to process MAM and so pubsub notifications, and
the user mute an entity before it's done.
But I agree that the risk is very low.
Also, what if user is in a very huge room and mute
dozen of
participants?
Then you have a few dozen ids in a list. Is this a problem?
Probably not with realistic numbers. I'm just raising a potential issue that
may never happen. However, if other extensions are used and added to the room
item, we may reach pubsub item size limit at some point.