summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-01-05 14:59:05 +0000
committerErik Johnston <erik@matrix.org>2016-01-05 14:59:05 +0000
commit90921981bea234ac0ae1651f9d7bfce08d79ef26 (patch)
treeea28dd27a580d3d3381859b473019e15c4094af8 /synapse
parentMerge pull request #460 from matrix-org/erikj/create_room_3pid_invite (diff)
parentReturn /sync when something under the 'leave' key has changed (diff)
downloadsynapse-90921981bea234ac0ae1651f9d7bfce08d79ef26.tar.xz
Merge pull request #461 from matrix-org/erikj/sync_leave
Return /sync when something under the 'leave' key has changed
Diffstat (limited to 'synapse')
-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"))