Mark "Talk" active on /call/token URLs
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
9fe4b953e9
commit
15f00f0126
|
@ -128,6 +128,11 @@ class SecurityMiddleware extends Middleware {
|
|||
// for normal HTML requests and not for AJAX requests
|
||||
$this->navigationManager->setActiveEntry($this->appName);
|
||||
|
||||
/** @suppress PhanUndeclaredClassConstant */
|
||||
if ($controller === \OCA\Talk\Controller\PageController::class && $methodName === 'showCall') {
|
||||
$this->navigationManager->setActiveEntry('spreed');
|
||||
}
|
||||
|
||||
// security checks
|
||||
$isPublicPage = $this->reflector->hasAnnotation('PublicPage');
|
||||
if(!$isPublicPage) {
|
||||
|
|
Loading…
Reference in New Issue