From a232e06100630699d375deb43e07c961f5a26237 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Mon, 12 Sep 2016 12:30:46 +0100 Subject: [PATCH] Fix direct to device messages recieved over federation to notify sync --- synapse/storage/deviceinbox.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synapse/storage/deviceinbox.py b/synapse/storage/deviceinbox.py index b729b7106e..f640e73714 100644 --- a/synapse/storage/deviceinbox.py +++ b/synapse/storage/deviceinbox.py @@ -128,6 +128,8 @@ class DeviceInboxStore(SQLBaseStore): user_id, stream_id ) + defer.returnValue(stream_id) + def _add_messages_to_local_device_inbox_txn(self, txn, stream_id, messages_by_user_then_device): sql = (