diff options
author | Joas Schilling <coding@schilljs.com> | 2019-09-19 19:31:44 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-09-26 12:21:13 +0300 |
commit | a3114d6cdfeef5d4da19b30d2c7a37eb08766acc (patch) | |
tree | 618b2ab6d57ae4403202d599caed74810f2711e3 /lib | |
parent | c430922cb29ba54408e195f2bfbb1437ab62673e (diff) |
Make sure we first check if the user can start a call
Because quite some listeners check in the before event to compare to the empty call state before
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Listener/RestrictStartingCalls.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Listener/RestrictStartingCalls.php b/lib/Listener/RestrictStartingCalls.php index 279ba6c2d..1ef8ebfe3 100644 --- a/lib/Listener/RestrictStartingCalls.php +++ b/lib/Listener/RestrictStartingCalls.php @@ -45,7 +45,7 @@ class RestrictStartingCalls { /** @var self $listener */ $listener = \OC::$server->query(self::class); $listener->checkStartCallPermissions($event); - }); + }, 1000); } /** |