mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Look through rooms namespace for matching room IDs
This commit is contained in:
parent
ee5ec50dbe
commit
ccb26ebbfb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue