mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-27 00:31:55 -06:00
Fix typo that caused ASTokens to not be uniquely checked
Signed-off-by: Andrew Morgan <andrewm@matrix.org>
This commit is contained in:
parent
b86b55360a
commit
63dc2141ba
|
@ -180,7 +180,7 @@ func checkErrors(config *Dendrite) (err error) {
|
||||||
// Add the id/token to their respective maps if we haven't already
|
// Add the id/token to their respective maps if we haven't already
|
||||||
// seen them.
|
// seen them.
|
||||||
idMap[appservice.ID] = true
|
idMap[appservice.ID] = true
|
||||||
tokenMap[appservice.ID] = true
|
tokenMap[appservice.ASToken] = true
|
||||||
|
|
||||||
// Check if more than one regex exists per namespace
|
// Check if more than one regex exists per namespace
|
||||||
for _, namespace := range appservice.NamespaceMap {
|
for _, namespace := range appservice.NamespaceMap {
|
||||||
|
|
Loading…
Reference in a new issue