Merge pull request #6247 from matrix-org/babolivier/port_db_column

Add new boolean column to synapse_port_db
This commit is contained in:
Brendan Abolivier 2019-10-24 17:07:34 +01:00 committed by GitHub
commit 0ef0b09d68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
changelog.d/6247.bugfix Normal file
View File

@ -0,0 +1 @@
Update list of boolean columns in `synapse_port_db`.

View File

@ -68,6 +68,7 @@ BOOLEAN_COLUMNS = {
"presence_list": ["accepted"], "presence_list": ["accepted"],
"presence_stream": ["currently_active"], "presence_stream": ["currently_active"],
"public_room_list_stream": ["visibility"], "public_room_list_stream": ["visibility"],
"devices": ["hidden"],
"device_lists_outbound_pokes": ["sent"], "device_lists_outbound_pokes": ["sent"],
"users_who_share_rooms": ["share_private"], "users_who_share_rooms": ["share_private"],
"groups": ["is_public"], "groups": ["is_public"],