Fixup typo for sanitization.

This commit is contained in:
poljar (Damir Jelić) 2018-02-22 14:26:35 +01:00
parent 26f38a5193
commit 0fba3016ee

View file

@ -475,7 +475,7 @@ class RedactedMessage(AbstractMessage):
def from_dict(cls, event):
event_id = sanitize_id(event["event_id"])
sender = sanitize_id(event["sender"])
age = sanitize_ag(event["unsigned"]["age"])
age = sanitize_age(event["unsigned"]["age"])
censor = sanitize_id(event['unsigned']['redacted_because']['sender'])
reason = None