mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-07 05:12:42 -04:00
Fix admin List Room API return type on sqlite (#13509)
This commit is contained in:
parent
b9924df264
commit
a160406d24
3 changed files with 19 additions and 7 deletions
|
@ -641,8 +641,10 @@ class RoomWorkerStore(CacheInvalidationWorkerStore):
|
|||
"version": room[5],
|
||||
"creator": room[6],
|
||||
"encryption": room[7],
|
||||
"federatable": room[8],
|
||||
"public": room[9],
|
||||
# room_stats_state.federatable is an integer on sqlite.
|
||||
"federatable": bool(room[8]),
|
||||
# rooms.is_public is an integer on sqlite.
|
||||
"public": bool(room[9]),
|
||||
"join_rules": room[10],
|
||||
"guest_access": room[11],
|
||||
"history_visibility": room[12],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue