diff options
Diffstat (limited to 'lib/PublicShareAuth')
-rw-r--r-- | lib/PublicShareAuth/TemplateLoader.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/PublicShareAuth/TemplateLoader.php b/lib/PublicShareAuth/TemplateLoader.php index af68c1413..3a4f32c80 100644 --- a/lib/PublicShareAuth/TemplateLoader.php +++ b/lib/PublicShareAuth/TemplateLoader.php @@ -67,6 +67,12 @@ class TemplateLoader implements IEventListener { return; } + // Check if "Video verification" option was set + $share = $event->getShare(); + if (!$share->getSendPasswordByTalk()) { + return; + } + Util::addStyle('spreed', 'merged-share-auth'); Util::addScript('spreed', 'talk-public-share-auth-sidebar'); |