diff options
-rw-r--r-- | lib/Chat/SystemMessage/Listener.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Chat/SystemMessage/Listener.php b/lib/Chat/SystemMessage/Listener.php index fecc384eb..9e33a8aca 100644 --- a/lib/Chat/SystemMessage/Listener.php +++ b/lib/Chat/SystemMessage/Listener.php @@ -382,6 +382,10 @@ class Listener implements IEventListener { $listener = Server::get(self::class); $manager = Server::get(Manager::class); + $request = Server::get(IRequest::class); + if ($request->getParam('_route') === 'ocs.spreed.Recording.shareToChat') { + return; + } $room = $manager->getRoomByToken($share->getSharedWith()); $metaData = Server::get(IRequest::class)->getParam('talkMetaData') ?? ''; $metaData = json_decode($metaData, true); |