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

@ -116,3 +116,11 @@ class UserTypes(object):
"""
SUPPORT = "support"
ALL_USER_TYPES = (SUPPORT,)
class RelationTypes(object):
"""The types of relations known to this server.
"""
ANNOTATION = "m.annotation"
REPLACES = "m.replaces"
REFERENCES = "m.references"