diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-01-22 10:56:35 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-01-22 11:16:23 +0000 |
commit | 8086a5c05e5ddf7a24662882cbb090ec826110b4 (patch) | |
tree | 35c35f81cc12d07bfd92587e047583db8f4294e9 /synapse/handlers/room_member.py | |
parent | Join logic covers both room creator and arbitrary users (diff) | |
download | synapse-8086a5c05e5ddf7a24662882cbb090ec826110b4.tar.xz |
Fix comments
Diffstat (limited to 'synapse/handlers/room_member.py')
-rw-r--r-- | synapse/handlers/room_member.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py index 35dd448c02..d14da4bc7f 100644 --- a/synapse/handlers/room_member.py +++ b/synapse/handlers/room_member.py @@ -211,7 +211,7 @@ class RoomMemberHandler(object): ) if event.membership == Membership.JOIN: - # Only fire user_joined_room if the user has acutally joined the + # Only fire user_joined_room if the user has actually joined the # room. Don't bother if the user is just changing their profile # info. newly_joined = True @@ -234,7 +234,7 @@ class RoomMemberHandler(object): if "predecessor" in create_event["content"]: old_room_id = create_event["content"]["predecessor"]["room_id"] - # Copy over room account data from predecessor room to upgraded room + # Retrieve room account data for predecessor room user_account_data = yield self.store.get_account_data_for_user( user_id, ) |