Make presence use cached users/hosts in room

This commit is contained in:
Erik Johnston 2017-05-16 14:46:16 +01:00
parent b8492b6c2f
commit ec5c4499f4
2 changed files with 4 additions and 4 deletions

View file

@ -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: