mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
tests(realtime): adapt account channel
This commit is contained in:
1 parent
71d483dc7b
commit
889d6aa1c0
2 files changed
+31
-21
No files matched your search
@@ -129,7 +129,7 @@ class Realtime extends Adapter
|
||||
*/
|
||||
public static function send(string $project, array $payload, string $event, array $channels, array $roles, array $options = []): void
|
||||
{
|
||||
if (empty($channels) || empty($permissions) || empty($project)) return;
|
||||
if (empty($channels) || empty($roles) || empty($project)) return;
|
||||
|
||||
$permissionsChanged = array_key_exists('permissionsChanged', $options) && $options['permissionsChanged'];
|
||||
$userId = array_key_exists('userId', $options) ? $options['userId'] : null;
|
||||
|
||||
Reference in new issue
Block a user