Skip to content

Commit

Permalink
Mark "Talk" active on /call/token URLs
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Nov 7, 2019
1 parent 9fe4b95 commit ee0b11d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ public function beforeController($controller, $methodName) {
// this will set the current navigation entry of the app, use this only
// for normal HTML requests and not for AJAX requests
$this->navigationManager->setActiveEntry($this->appName);
if ($controller === \OCA\Talk\Controller\PageController::class && $methodName === 'showCall') {
$this->navigationManager->setActiveEntry('spreed');
}

// security checks
$isPublicPage = $this->reflector->hasAnnotation('PublicPage');
Expand Down

0 comments on commit ee0b11d

Please sign in to comment.