Skip to content
Snippets Groups Projects
Unverified Commit 15f00f01 authored by Joas Schilling's avatar Joas Schilling Committed by Roeland Jago Douma
Browse files

Mark "Talk" active on /call/token URLs

parent 9fe4b953
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment