KB1RD / matrix-notepad

A buggy way to collaborate on text documents using the Matrix protocol. When it works, consider this the Matrix Console of collaboration!
https://matrix-notepad.kb1rd.net/
GNU General Public License v3.0
67 stars 1 forks source link

Document events can get buried #8

Closed KB1RD closed 4 years ago

KB1RD commented 4 years ago

The current method for scrolling back consists of receiving an event backlog (50 events or so) and checking to see if it has any relevant messages in it. If it does, another sync request is sent to look for additional events. I've encountered issues where there appears to be a blank document, but quite a lot was returned in the sync request, indicating that the document events might have been drowned out. This is more or less the same issue as #6, but I thought I'd mention it in case anybody opens a blank document. I had a feeling this would be a problem on busier servers, but I was more focused on fixing the core algo. sigh

KB1RD commented 4 years ago

I think that this was resolved by some bug fixes that I did a while ago. If it pops up again, I'll re-open the issue.