No need to get the avatar image since we have one generated or custom for each available user
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Родитель
6adf61b98d
Коммит
69ddfe862a
|
@ -217,7 +217,7 @@ class WopiController extends Controller {
|
|||
}
|
||||
|
||||
$user = $this->userManager->get($wopi->getEditorUid());
|
||||
if($user !== null && $user->getAvatarImage(32) !== null) {
|
||||
if($user !== null) {
|
||||
$response['UserExtraInfo']['avatar'] = $this->urlGenerator->linkToRouteAbsolute('core.avatar.getAvatar', ['userId' => $wopi->getEditorUid(), 'size' => 32]);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче