This commit is contained in:
yuri
2019-04-02 12:25:47 +03:00
parent a0f729cd8d
commit e4ab02c77a

View File

@@ -165,7 +165,9 @@ class Pusher implements WampServerInterface
protected function isTopicAllowed($topicId)
{
return in_array($topicId, $this->categoryList);
list($category) = explode( '.', $topicId);
return in_array($topicId, $this->categoryList) || in_array($category, $this->categoryList);
}
protected function getConnectionIdListByUserId($userId)