PEP8
This commit is contained in:
parent
5eca288d28
commit
008303b245
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue