mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Remove double indentation
This commit is contained in:
parent
257fa1c53e
commit
ecd0c0dfc5
@ -272,14 +272,13 @@ class RoomCreationHandler(BaseHandler):
|
|||||||
|
|
||||||
returned_events.append(power_levels_event)
|
returned_events.append(power_levels_event)
|
||||||
|
|
||||||
if room_alias:
|
if room_alias and (EventTypes.CanonicalAlias, '') not in initial_state:
|
||||||
if (EventTypes.CanonicalAlias, '') not in initial_state:
|
room_alias_event = create(
|
||||||
room_alias_event = create(
|
etype=EventTypes.CanonicalAlias,
|
||||||
etype=EventTypes.CanonicalAlias,
|
content={"alias": room_alias.to_string()},
|
||||||
content={"alias": room_alias.to_string()},
|
)
|
||||||
)
|
|
||||||
|
|
||||||
returned_events.append(room_alias_event)
|
returned_events.append(room_alias_event)
|
||||||
|
|
||||||
if (EventTypes.JoinRules, '') not in initial_state:
|
if (EventTypes.JoinRules, '') not in initial_state:
|
||||||
join_rules_event = create(
|
join_rules_event = create(
|
||||||
|
Loading…
Reference in New Issue
Block a user