mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
fixed payload in adapter
This commit is contained in:
parent
881d96a653
commit
336bd44826
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ class Realtime extends MessagingAdapter
|
|||
/**
|
||||
* To prevent duplicates, we save the connections as array keys.
|
||||
*/
|
||||
if (!empty(RuntimeQuery::filter($this->connections[$id]['queries'], $event['data']))) {
|
||||
if (!empty(RuntimeQuery::filter($this->connections[$id]['queries'], $event['data']['payload']))) {
|
||||
$receivers[$id] = 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue