mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
fix events to projects without subscriptions
This commit is contained in:
parent
5e06cd788a
commit
89e5841fee
1 changed files with 1 additions and 1 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Reference in a new issue