mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-26 06:58:27 +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
|
var serverName gomatrixserverlib.ServerName
|
||||||
|
req.ServerNames = req.ServerNames[:0]
|
||||||
joinEvents:
|
joinEvents:
|
||||||
for userID, pl := range powerLevelsContent.Users {
|
for userID, pl := range powerLevelsContent.Users {
|
||||||
if pl <= powerLevelsContent.Invite {
|
if pl <= powerLevelsContent.Invite {
|
||||||
|
|
Loading…
Reference in a new issue