summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--VERSION2
-rw-r--r--synapse/__init__.py2
-rw-r--r--synapse/events/utils.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index 8b9dea59dc..3b3e723172 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.6.1a
+0.6.1b
diff --git a/synapse/__init__.py b/synapse/__init__.py
index 4d5d70d265..895a0766d2 100644
--- a/synapse/__init__.py
+++ b/synapse/__init__.py
@@ -16,4 +16,4 @@
 """ This is a reference implementation of a Matrix home server.
 """
 
-__version__ = "0.6.1a"
+__version__ = "0.6.1b"
diff --git a/synapse/events/utils.py b/synapse/events/utils.py
index 4687d96f26..bcb5457278 100644
--- a/synapse/events/utils.py
+++ b/synapse/events/utils.py
@@ -106,7 +106,7 @@ def serialize_event(hs, e, client_event=True):
 
     if "age_ts" in d["unsigned"]:
         now = int(hs.get_clock().time_msec())
-        d["unsigned"]["age"] = now - d["unsigned"]["age_ts"]
+        d["age"] = now - d["unsigned"]["age_ts"]
         del d["unsigned"]["age_ts"]
 
     d["user_id"] = d.pop("sender", None)