summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-16 14:46:16 +0100
committerErik Johnston <erik@matrix.org>2017-05-16 16:01:43 +0100
commitec5c4499f4ab24445c6df7310007353b466020ce (patch)
tree9b8d01b30ce1a0f7eb45e76df192fcb385d4a1d8 /synapse/federation
parentMerge pull request #2224 from matrix-org/erikj/prefill_state (diff)
downloadsynapse-ec5c4499f4ab24445c6df7310007353b466020ce.tar.xz
Make presence use cached users/hosts in room
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/transaction_queue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py
index 695f1a7375..a15198e05d 100644
--- a/synapse/federation/transaction_queue.py
+++ b/synapse/federation/transaction_queue.py
@@ -285,7 +285,7 @@ class TransactionQueue(object):
         Args:
             states (list(UserPresenceState))
         """
-        hosts_and_states = yield get_interested_remotes(self.store, states)
+        hosts_and_states = yield get_interested_remotes(self.store, states, self.state)
 
         for destinations, states in hosts_and_states:
             for destination in destinations: