mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Fix joining rooms through mauliasproxy aliases
Signed-off-by: Tulir Asokan <tulir@maunium.net>
This commit is contained in:
parent
59ec4a0dc1
commit
5427f0d08a
1
changelog.d/15776.bugfix
Normal file
1
changelog.d/15776.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Fixed joining rooms through aliases where the alias server isn't a real homeserver. Contributed by @tulir @ Beeper
|
@ -1498,7 +1498,7 @@ class RoomMemberHandler(metaclass=abc.ABCMeta):
|
||||
# put the server which owns the alias at the front of the server list.
|
||||
if room_alias.domain in servers:
|
||||
servers.remove(room_alias.domain)
|
||||
servers.insert(0, room_alias.domain)
|
||||
servers.insert(0, room_alias.domain)
|
||||
|
||||
return RoomID.from_string(room_id), servers
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user