3 ms·
I am pretty confident that slack and discord know who has permission to read a message at a given point in time, which is all that state groups are achieving he
by Arathorn 10mo ago
I am pretty confident that slack and discord know who has permission to read a message at a given point in time, which is all that state groups are achieving here.
- immibis 10mo agoI am pretty confident they only know who has permission to read it right now.
- Arathorn 10mo agoNo, they all need to know who had permission to read a message which was sent at a given point in the timeline. This is all state groups is: a track of the room state at the point a message was sent: e.g. who has permission to read it.
- immibis 10mo agoI repeat: I am pretty confident they only know who has permission to read it right now. It works like this: their server gets a request to read messages, and checks if the client currently has permission to read messages. If so, it reads the messages. If not, it returns a permission error. If you don't have permission, it doesn't attempt to analyze history to figure out whether you had permission in the past. In fact, Discord is pretty explicit about not letting you have any interaction with things you don't have permission to view. It doesn't even tell you you don't have permission. It just silently removes them from your menu, and if you try to access them with a link, it tells you "unknown error".