Set datastore's .hs field in SQLBaseStore rather than in the toplevel DataStore mixed-in result class

This commit is contained in:
Paul "LeoNerd" Evans 2014-08-13 18:15:23 +01:00
parent 59dfbaba3b
commit baf04be5cf
2 changed files with 1 additions and 1 deletions

View file

@ -44,7 +44,6 @@ class DataStore(RoomDataStore, RoomMemberStore, MessageStore, RoomStore,
def __init__(self, hs):
super(DataStore, self).__init__(hs)
self.event_factory = hs.get_event_factory()
self.hs = hs
def persist_event(self, event):
if event.type == MessageEvent.TYPE: