Robert Swain
d09a65abbe
Add Apache Version 2.0 license and headers to all golang files
2017-04-21 00:40:52 +02:00
Mark Haines
e3f3eb8f3d
Add metrics for the various ways of calculating room state ( #49 )
2017-03-23 14:14:25 +00:00
Mark Haines
f2163c31c6
Implement state conflict resolution ( #37 )
...
* Implement state conflict resolution
2017-03-15 13:47:12 +00:00
Mark Haines
1d18da1189
Move the functions for reading room state to a separate package. ( #29 )
...
This should:
1) Make the input package a bit cleaner.
2) Allow use to reuse the state reading code from the query package.
2017-03-08 15:10:26 +00:00
Mark Haines
84682b33c9
Use Unique from github.com/matrix-org/util ( #28 )
...
* Update github.com/matrix-org/util
* Use Unique from github.com/matrix-org/util
2017-03-08 13:27:21 +00:00
Mark Haines
96fc9294cc
Track the current state of the room ( #24 )
...
* Add method for calculating the room state after a list of events
* Fill out AddsState and RemovesState fields in the output event
* comment on return value
* Fix whitespace
* Clarify the meaning of LastEventIDSent
* Be more explicit on what the snapshot is
* Fix comments
* Comment on why we want the state after the previous events
2017-03-07 10:25:01 +00:00
Mark Haines
39264cbf4b
Calculate and store the state at each event ( #6 )
...
* Calculate and store the state at each event
* Use type aliases for numeric IDs
2017-02-15 11:05:45 +00:00