Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Look through rooms namespace for matching room IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Jul 16, 2018
1 parent ee5ec50 commit ccb26eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ccb26eb

Please sign in to comment.