summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/events/builder.py2
-rw-r--r--synapse/events/utils.py2
-rw-r--r--synapse/events/validator.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/synapse/events/builder.py b/synapse/events/builder.py
index 0b8caf9318..127b8fa904 100644
--- a/synapse/events/builder.py
+++ b/synapse/events/builder.py
@@ -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,)
\ No newline at end of file
+        return EventBuilder(key_values=key_values,)
diff --git a/synapse/events/utils.py b/synapse/events/utils.py
index 485f075406..f5e135e3d0 100644
--- a/synapse/events/utils.py
+++ b/synapse/events/utils.py
@@ -97,4 +97,4 @@ def serialize_event(hs, e):
 
     d["user_id"] = d.pop("sender", None)
 
-    return d
\ No newline at end of file
+    return d
diff --git a/synapse/events/validator.py b/synapse/events/validator.py
index 7dc9506ec4..f319072d37 100644
--- a/synapse/events/validator.py
+++ b/synapse/events/validator.py
@@ -55,4 +55,4 @@ class EventValidator(object):
     def validate_new(self, event):
         self.validate(event)
 
-        UserID.from_string(event.sender)
\ No newline at end of file
+        UserID.from_string(event.sender)