@ -66,4 +66,4 @@ class EventBuilderFactory(object):
age = key_values["unsigned"].pop("age", 0)
key_values["unsigned"].setdefault("age_ts", time_now - age)
return EventBuilder(key_values=key_values,)
@ -97,4 +97,4 @@ def serialize_event(hs, e):
d["user_id"] = d.pop("sender", None)
return d
@ -55,4 +55,4 @@ class EventValidator(object):
def validate_new(self, event):
self.validate(event)
UserID.from_string(event.sender)