Add simple send_relation API and track in DB

This commit is contained in:
Erik Johnston 2019-05-14 16:59:21 +01:00
parent a9fc71c372
commit efe3c7977a
8 changed files with 311 additions and 0 deletions

View file

@ -49,6 +49,7 @@ from .pusher import PusherStore
from .receipts import ReceiptsStore
from .registration import RegistrationStore
from .rejections import RejectionsStore
from .relations import RelationsStore
from .room import RoomStore
from .roommember import RoomMemberStore
from .search import SearchStore
@ -99,6 +100,7 @@ class DataStore(
GroupServerStore,
UserErasureStore,
MonthlyActiveUsersStore,
RelationsStore,
):
def __init__(self, db_conn, hs):
self.hs = hs