From 27cd0b3037b439337a54de370a52be671ff4198d Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Thu, 13 Jun 2019 17:40:14 +0100 Subject: Fix snafu --- synapse/storage/profile.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'synapse/storage/profile.py') diff --git a/synapse/storage/profile.py b/synapse/storage/profile.py index 919b1f1641..23c4c31669 100644 --- a/synapse/storage/profile.py +++ b/synapse/storage/profile.py @@ -19,12 +19,13 @@ from twisted.internet import defer from synapse.api.errors import StoreError from synapse.storage.roommember import ProfileInfo +from ._base import SQLBaseStore from . import background_updates BATCH_SIZE = 100 -class ProfileWorkerStore(background_updates.BackgroundUpdateStore): +class ProfileWorkerStore(SQLBaseStore): @defer.inlineCallbacks def get_profileinfo(self, user_localpart): try: @@ -165,7 +166,7 @@ class ProfileWorkerStore(background_updates.BackgroundUpdateStore): ) -class ProfileStore(ProfileWorkerStore): +class ProfileStore(ProfileWorkerStore, background_updates.BackgroundUpdateStore): def __init__(self, db_conn, hs): super(ProfileStore, self).__init__(db_conn, hs) -- cgit 1.5.1