mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 14:09:22 -05:00
Merge pull request #6509 from matrix-org/babolivier/fix-room-store-config
Give the server config to the RoomWorkerStore
This commit is contained in:
commit
a964f18887
1
changelog.d/6509.bugfix
Normal file
1
changelog.d/6509.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Fix pusher worker failing because it can't retrieve retention policies for rooms.
|
@ -46,6 +46,11 @@ RatelimitOverride = collections.namedtuple(
|
||||
|
||||
|
||||
class RoomWorkerStore(SQLBaseStore):
|
||||
def __init__(self, database: Database, db_conn, hs):
|
||||
super(RoomWorkerStore, self).__init__(database, db_conn, hs)
|
||||
|
||||
self.config = hs.config
|
||||
|
||||
def get_room(self, room_id):
|
||||
"""Retrieve a room.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user