mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-08 20:02:16 -04:00
Modify group room association API to allow modification of is_public
also includes renamings to make things more consistent.
This commit is contained in:
parent
c31a7c3ff6
commit
20fe347906
6 changed files with 25 additions and 19 deletions
|
@ -684,7 +684,7 @@ class FederationGroupsAddRoomsServlet(BaseFederationServlet):
|
|||
if get_domain_from_id(requester_user_id) != origin:
|
||||
raise SynapseError(403, "requester_user_id doesn't match origin")
|
||||
|
||||
new_content = yield self.handler.add_room_to_group(
|
||||
new_content = yield self.handler.update_room_group_association(
|
||||
group_id, requester_user_id, room_id, content
|
||||
)
|
||||
|
||||
|
@ -696,7 +696,7 @@ class FederationGroupsAddRoomsServlet(BaseFederationServlet):
|
|||
if get_domain_from_id(requester_user_id) != origin:
|
||||
raise SynapseError(403, "requester_user_id doesn't match origin")
|
||||
|
||||
new_content = yield self.handler.remove_room_from_group(
|
||||
new_content = yield self.handler.delete_room_group_association(
|
||||
group_id, requester_user_id, room_id,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue