This commit is contained in:
Erik Johnston 2014-12-09 14:49:11 +00:00
parent 5eca288d28
commit 008303b245
2 changed files with 2 additions and 2 deletions

View File

@ -67,4 +67,4 @@ class EventTypes(object):
JoinRules = "m.room.join_rules" JoinRules = "m.room.join_rules"
PowerLevels = "m.room.power_levels" PowerLevels = "m.room.power_levels"
Aliases = "m.room.aliases" Aliases = "m.room.aliases"
Redaction = "m.room.redaction" Redaction = "m.room.redaction"

View File

@ -342,7 +342,7 @@ class RoomMemberHandler(BaseHandler):
""" """
target_user_id = event.state_key target_user_id = event.state_key
## TODO(markjh): get prev state from snapshot. # TODO(markjh): get prev state from snapshot.
prev_state = yield self.store.get_room_member( prev_state = yield self.store.get_room_member(
target_user_id, event.room_id target_user_id, event.room_id
) )