diff --git a/src/github.com/matrix-org/dendrite/common/config/appservice.go b/src/github.com/matrix-org/dendrite/common/config/appservice.go index 26398fa1..4ded7c14 100644 --- a/src/github.com/matrix-org/dendrite/common/config/appservice.go +++ b/src/github.com/matrix-org/dendrite/common/config/appservice.go @@ -71,7 +71,7 @@ type ApplicationService struct { func (a *ApplicationService) IsInterestedInRoomID( roomID string, ) bool { - if namespaceSlice, ok := a.NamespaceMap["users"]; ok { + if namespaceSlice, ok := a.NamespaceMap["rooms"]; ok { for _, namespace := range namespaceSlice { if namespace.RegexpObject.MatchString(roomID) { return true