Commit Graph

4 Commits

Author SHA1 Message Date
ddf3fccbaa Patch up Matrix.Event.State
* Use private members
* Make state_key mandatory
2016-03-09 16:22:29 +01:00
6db0e82ca7 Make _state_key of Event.State protected
Some state events give a meaning to state_key but having a separate
property is a bit of overkill.
2016-03-09 07:18:21 +00:00
26d144c593 Add Matrix.Event.State.get_stripped_node()
This returns the full state event if it is allowed to be stripped.
It is needed for m.room.member events.
2016-03-07 16:38:19 +01:00
70dfaff080 Move Event types to the Matrix.Event namespace 2016-03-07 16:38:19 +01:00