diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-01-07 14:18:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-07 14:18:43 +0000 |
commit | 85db7f73be15cc088f5e378980021e335001ce87 (patch) | |
tree | f6efe9db7d54e76af87b14cac70461b6a3a3d09f /scripts | |
parent | Async/await for background updates (#6647) (diff) | |
download | synapse-85db7f73be15cc088f5e378980021e335001ce87.tar.xz |
Add a background update to clear tombstoned rooms from the directory (#6648)
* Add a background update to clear tombstoned rooms from the directory * use the ABC metaclass
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/synapse_port_db | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/synapse_port_db b/scripts/synapse_port_db index eb927f2094..cb77314f1e 100755 --- a/scripts/synapse_port_db +++ b/scripts/synapse_port_db @@ -166,6 +166,11 @@ class Store( logger.exception("Failed to insert: %s", table) raise + def set_room_is_public(self, room_id, is_public): + raise Exception( + "Attempt to set room_is_public during port_db: database not empty?" + ) + class MockHomeserver: def __init__(self, config): |