mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 09:23:09 -06:00
Complete unfinished comment
This commit is contained in:
parent
a4a11c7235
commit
7895c364df
|
|
@ -166,7 +166,9 @@ func PublishAssociation(creds Credentials, userID string, cfg config.Dendrite) e
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// isTrusted checks if a given identity server is
|
// isTrusted checks if a given identity server is part of the list of trusted
|
||||||
|
// identity servers in the configuration file.
|
||||||
|
// Returns an error if the server isn't trusted.
|
||||||
func isTrusted(idServer string, cfg config.Dendrite) error {
|
func isTrusted(idServer string, cfg config.Dendrite) error {
|
||||||
for _, server := range cfg.Matrix.TrustedIDServers {
|
for _, server := range cfg.Matrix.TrustedIDServers {
|
||||||
if idServer == server {
|
if idServer == server {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue