History limit and read notification overhaul
Created by: UlfNorell
-
History limit was pretty much broken, fixed now.
-
Changes representation of
#Room.readers. Previously kept a (at most) two element list of last member to write and member who has read the furthest. Now we just keep track of the last message marked as read.What we send back to the client on a
Room/getrequest has not changed, but the exact circumstances in which a read notification is sent out has changed slightly. The new behaviour is: when someone marks a message as read, you get a notification if this message (or a later one) hasn't already been marked. The previous behaviour cannot be described in the space of this comment field.