summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-01-05 14:49:06 +0000
committerErik Johnston <erik@matrix.org>2016-01-05 14:49:06 +0000
commitacb19068d00903e8613b50e5d64e1daf31bbe9a6 (patch)
treeea28dd27a580d3d3381859b473019e15c4094af8 /synapse/handlers/sync.py
parentMerge pull request #460 from matrix-org/erikj/create_room_3pid_invite (diff)
downloadsynapse-acb19068d00903e8613b50e5d64e1daf31bbe9a6.tar.xz
Return /sync when something under the 'leave' key has changed
Diffstat (limited to '')
-rw-r--r--synapse/handlers/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index feea407ea2..9796f2a57f 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -115,7 +115,7 @@ class SyncResult(collections.namedtuple("SyncResult", [
         events.
         """
         return bool(
-            self.presence or self.joined or self.invited
+            self.presence or self.joined or self.invited or self.archived
         )
 
 GuestRoom = collections.namedtuple("GuestRoom", ("room_id", "membership"))