mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fixed payload in adapter
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user