Pass the uid when generating a WOPI token for a directview
Else the editor will show up as a ? in the editorlist. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Родитель
fb520729d7
Коммит
dd053529e8
|
@ -92,7 +92,7 @@ class DirectViewController extends Controller {
|
|||
if(!($item instanceof Node)) {
|
||||
throw new \Exception();
|
||||
}
|
||||
list($urlSrc, $token) = $this->tokenManager->getToken($item->getId());
|
||||
list($urlSrc, $token) = $this->tokenManager->getToken($item->getId(), null, $direct->getUid());
|
||||
$params = [
|
||||
'permissions' => $item->getPermissions(),
|
||||
'title' => $item->getName(),
|
||||
|
|
Загрузка…
Ссылка в новой задаче