mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix events to projects without subscriptions
This commit is contained in:
@@ -102,7 +102,7 @@ class Realtime
|
||||
static function identifyReceivers(array &$event, array &$subscriptions)
|
||||
{
|
||||
$receivers = [];
|
||||
if ($subscriptions[$event['project']]) {
|
||||
if (isset($subscriptions[$event['project']])) {
|
||||
foreach ($subscriptions[$event['project']] as $role => $subscription) {
|
||||
foreach ($event['data']['channels'] as $channel) {
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user