mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 01:14:48 -04:00
Add forgotten status to Room Details API (#13503)
This commit is contained in:
parent
c6ee9c0ee4
commit
d75512d19e
6 changed files with 101 additions and 1 deletions
|
@ -303,6 +303,7 @@ class RoomRestServlet(RestServlet):
|
|||
|
||||
members = await self.store.get_users_in_room(room_id)
|
||||
ret["joined_local_devices"] = await self.store.count_devices_by_users(members)
|
||||
ret["forgotten"] = await self.store.is_locally_forgotten_room(room_id)
|
||||
|
||||
return HTTPStatus.OK, ret
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue