Merge pull request #2827 from nextcloud/backport/2822/stable1.3
[stable1.3] Also include /apps/spreed urls in the listener for loading the talk integration
This commit is contained in:
@@ -49,11 +49,12 @@ class BeforeTemplateRenderedListener implements IEventListener {
|
||||
}
|
||||
Util::addStyle('deck', 'deck');
|
||||
|
||||
if (strpos($this->request->getPathInfo(), '/apps/calendar') === 0) {
|
||||
$pathInfo = $this->request->getPathInfo();
|
||||
if (strpos($pathInfo, '/apps/calendar') === 0) {
|
||||
Util::addScript('deck', 'calendar');
|
||||
}
|
||||
|
||||
if (strpos($this->request->getPathInfo(), '/call/') === 0) {
|
||||
if (strpos($pathInfo, '/call/') === 0 || strpos($pathInfo, '/apps/spreed') === 0) {
|
||||
Util::addScript('deck', 'talk');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user