diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-09-12 12:30:46 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-09-12 12:30:46 +0100 |
commit | a232e06100630699d375deb43e07c961f5a26237 (patch) | |
tree | c749d125010b6956b89c76471077ffc85b70b8be /synapse/storage/deviceinbox.py | |
parent | Merge pull request #1102 from matrix-org/revert-1099-dbkr/make_notif_highligh... (diff) | |
download | synapse-a232e06100630699d375deb43e07c961f5a26237.tar.xz |
Fix direct to device messages recieved over federation to notify sync
Diffstat (limited to 'synapse/storage/deviceinbox.py')
-rw-r--r-- | synapse/storage/deviceinbox.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 = ( |