mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-15 13:42:26 +03:00
Linting
This commit is contained in:
parent
dcb9b9e179
commit
af5678a73e
4 changed files with 17 additions and 13 deletions
|
@ -246,9 +246,7 @@ func GenerateCreateContent(ctx context.Context, roomVer gomatrixserverlib.RoomVe
|
|||
var finalAdditionalCreators []string
|
||||
creatorsSet := make(map[string]struct{})
|
||||
var unverifiedCreators []string
|
||||
for _, add := range additionalCreators {
|
||||
unverifiedCreators = append(unverifiedCreators, add)
|
||||
}
|
||||
unverifiedCreators = append(unverifiedCreators, additionalCreators...)
|
||||
// they get added to any additional creators specified already
|
||||
existingAdditionalCreators, ok := createContent["additional_creators"].([]any)
|
||||
if ok {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue