summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-07-09 13:15:34 +0100
committerErik Johnston <erik@matrix.org>2015-07-09 13:15:34 +0100
commitc2d08ca62aebdfa689ae7d39ff74b2a43e4b5e3a (patch)
treecc658aedca621815e8ae79a6df71956b90c7e90d
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/receipts (diff)
downloadsynapse-c2d08ca62aebdfa689ae7d39ff74b2a43e4b5e3a.tar.xz
Integer timestamps
Diffstat (limited to '')
-rw-r--r--synapse/handlers/receipts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/receipts.py b/synapse/handlers/receipts.py
index 8a052f071b..403c1c8491 100644
--- a/synapse/handlers/receipts.py
+++ b/synapse/handlers/receipts.py
@@ -53,7 +53,7 @@ class ReceiptsHandler(BaseHandler):
             "user_id": user_id,
             "event_ids": [event_id],
             "data": {
-                "ts": self.clock.time_msec()
+                "ts": int(self.clock.time_msec()),
             }
         }