diff --git a/application/Espo/Core/WebSocket/Pusher.php b/application/Espo/Core/WebSocket/Pusher.php index 7dbdf48fd8..d6181eca7c 100644 --- a/application/Espo/Core/WebSocket/Pusher.php +++ b/application/Espo/Core/WebSocket/Pusher.php @@ -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)