Add RedactionEvent support on backend

This commit is contained in:
vSLG
2020-03-28 14:24:05 -03:00
committed by miruka
parent b3f1075507
commit db1afc980e
6 changed files with 103 additions and 2 deletions

View File

@@ -177,6 +177,7 @@ class Event(ModelItem):
content: str = ""
inline_content: str = ""
redacts: str = ""
reason: str = ""
links: List[str] = field(default_factory=list)
mentions: List[Tuple[str, str]] = field(default_factory=list)