diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2024-03-07 19:25:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 19:25:37 +0100 |
commit | 4334f544951b2bc658e513e46d4e4e6308d48822 (patch) | |
tree | a98567e3bbd8bfd5cf8cfe136715edf851978227 /lib | |
parent | 55389024438cab9e6a5bb2c05161250f7753b3f4 (diff) | |
parent | 55269b07c918b1af9b0b5d4807e66bb8d970f318 (diff) |
Merge pull request #11743 from nextcloud/bugfix/noid/allow-favoriting-and-notification-settings
fix(federation): Allow setting notification level and favoriting
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/RoomController.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Controller/RoomController.php b/lib/Controller/RoomController.php index 78cb5b55f..f02451e2d 100644 --- a/lib/Controller/RoomController.php +++ b/lib/Controller/RoomController.php @@ -691,6 +691,7 @@ class RoomController extends AEnvironmentAwareController { * * 200: Successfully added room to favorites */ + #[FederationSupported] #[NoAdminRequired] #[RequireLoggedInParticipant] public function addToFavorites(): DataResponse { @@ -705,6 +706,7 @@ class RoomController extends AEnvironmentAwareController { * * 200: Successfully removed room from favorites */ + #[FederationSupported] #[NoAdminRequired] #[RequireLoggedInParticipant] public function removeFromFavorites(): DataResponse { @@ -722,6 +724,7 @@ class RoomController extends AEnvironmentAwareController { * 200: Notification level updated successfully * 400: Updating notification level is not possible */ + #[FederationSupported] #[NoAdminRequired] #[RequireLoggedInParticipant] public function setNotificationLevel(int $level): DataResponse { |