Store comments against a file
I had a play with the commenting that is demonstrated in the leaps_share example. I wasn't sure but are these comments stored against a file permanently or is it just while a session exists? Its another thing I would be interested in working on if you had any ideas (and places within the code to look at) that you could share?
Hey @amlwwalker, the messages sent while editing a document aren't stored. Leaps lets you broadcast text to all users on the same document, which are used for metadata such as cursor positions and these chat messages.
The logic for brokering document changes, messages etc is quite large now and needs breaking down, but it can be found at https://github.com/Jeffail/leaps/blob/master/lib/binder.go
Hey @amlwwalker, just checking in since the refactor, the logic posted above is now at https://github.com/Jeffail/leaps/blob/master/lib/binder/binder.go