Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Proposal: mitigate extremities accumulation using lazy-transmitted dummy events #5319
In the past, I think this approach was dismissed because:
well, clients shouldn't consider rooms unread for event types they don't know about (and we need to fix that in general for Matrix). Edit: plus the server could just ignore dummy events when calculating unread counts.
On discussing this with @erikjohnston another potential issue cropped up, which is that he's worried that when the dummy event(s) eventually does get sent from the fragmented room by the lurker speaking there, they are going to have loads of parents which could spiderweb over the whole history of the room. This will cause other servers in the room to go madly fishing around for the events in question, even if they predate that server's participation in the room, and increase the computational complexity of state resolution due to needing to model all the paths. Therefore it might be better to intelligently prune extremities where possible rather than using dummy events. I'm writing the new prop up as another bug.