3 ms·
Slack and discord don't know the state of the room at any given time in the past. Show me anywhere in slack or discord where you can see the membership of a ro
by dfajgljsldkjag 10mo ago
Slack and discord don't know the state of the room at any given time in the past. Show me anywhere in slack or discord where you can see the membership of a room at 2024-06-19T15:23:45Z. Or anywhere where you can see the historical profile picture and nickname of everyone in the room at 2024-06-19T15:23:45Z. You can't, because they don't know.
- Arathorn 10mo agoI 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".