diff options
author | Vitor Mattos <vitor@php.rio> | 2022-11-21 01:31:35 -0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-12-07 15:01:54 +0100 |
commit | aabd71b11b9d960093c82572486e472d856bf713 (patch) | |
tree | 9337756349e38945736ace3ba377a4254a666193 /appinfo | |
parent | dc10d3b7c3019ef340d34eef35e7705a4a84ba0b (diff) |
Return avatar of one2one with dark theme when is necessary
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes/routesAvatarController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/appinfo/routes/routesAvatarController.php b/appinfo/routes/routesAvatarController.php index 72b003bee..99aa7f1a0 100644 --- a/appinfo/routes/routesAvatarController.php +++ b/appinfo/routes/routesAvatarController.php @@ -34,6 +34,8 @@ return [ ['name' => 'Avatar#uploadAvatar', 'url' => '/api/{apiVersion}/room/{token}/avatar', 'verb' => 'POST', 'requirements' => $requirements], /** @see \OCA\Talk\Controller\AvatarController::getAvatar() */ ['name' => 'Avatar#getAvatar', 'url' => '/api/{apiVersion}/room/{token}/avatar', 'verb' => 'GET', 'requirements' => $requirements], + /** @see \OCA\Talk\Controller\AvatarController::getAvatarDark() */ + ['name' => 'Avatar#getAvatarDark', 'url' => '/api/{apiVersion}/room/{token}/avatar/dark', 'verb' => 'GET', 'requirements' => $requirements], /** @see \OCA\Talk\Controller\AvatarController::deleteAvatar() */ ['name' => 'Avatar#deleteAvatar', 'url' => '/api/{apiVersion}/room/{token}/avatar', 'verb' => 'DELETE', 'requirements' => $requirements], ], |