diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-06-14 10:37:43 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-06-14 10:37:43 +0100 |
commit | c4759cd041f664b6c0fae4949732f87d97c4e868 (patch) | |
tree | 37462c4a86c6ff2961493844c6c5ff2618d36bf1 /synapse | |
parent | Merge branch 'babolivier/fix_profile_replication' into babolivier/userdir_hid... (diff) | |
parent | Make index unique (diff) | |
download | synapse-c4759cd041f664b6c0fae4949732f87d97c4e868.tar.xz |
Merge branch 'dinsic' into babolivier/userdir_hide_users
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/profile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/profile.py b/synapse/storage/profile.py index f60263502b..38524f2545 100644 --- a/synapse/storage/profile.py +++ b/synapse/storage/profile.py @@ -176,6 +176,7 @@ class ProfileStore(ProfileWorkerStore, background_updates.BackgroundUpdateStore) index_name="profile_replication_status_idx", table="profile_replication_status", columns=["host"], + unique=True, ) def add_remote_profile_cache(self, user_id, displayname, avatar_url): |