mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Fix comments
This commit is contained in:
parent
48951f437f
commit
8086a5c05e
@ -211,7 +211,7 @@ class RoomMemberHandler(object):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if event.membership == Membership.JOIN:
|
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
|
# room. Don't bother if the user is just changing their profile
|
||||||
# info.
|
# info.
|
||||||
newly_joined = True
|
newly_joined = True
|
||||||
@ -234,7 +234,7 @@ class RoomMemberHandler(object):
|
|||||||
if "predecessor" in create_event["content"]:
|
if "predecessor" in create_event["content"]:
|
||||||
old_room_id = create_event["content"]["predecessor"]["room_id"]
|
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_account_data = yield self.store.get_account_data_for_user(
|
||||||
user_id,
|
user_id,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user