mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-25 14:38:28 +00:00
Prune server names
This commit is contained in:
parent
fcf21da988
commit
9d7ffe6fce
1 changed files with 1 additions and 0 deletions
|
@ -275,6 +275,7 @@ func (r *Joiner) performJoinRoomByID(
|
|||
}
|
||||
|
||||
var serverName gomatrixserverlib.ServerName
|
||||
req.ServerNames = req.ServerNames[:0]
|
||||
joinEvents:
|
||||
for userID, pl := range powerLevelsContent.Users {
|
||||
if pl <= powerLevelsContent.Invite {
|
||||
|
|
Loading…
Reference in a new issue