diff options
author | Joas Schilling <coding@schilljs.com> | 2024-03-07 17:49:42 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-03-07 17:54:05 +0100 |
commit | 55269b07c918b1af9b0b5d4807e66bb8d970f318 (patch) | |
tree | fd6307c4fd741c52c8047d544b4a470dec959d91 /lib/Controller | |
parent | bbf2e6bc47c96beb194133ad75b064611e18fc4c (diff) |
fix(federation): Allow setting notification level and favoriting
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Controller')
-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 90e792285..4c9932beb 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 { |