Skip to content

Commit

Permalink
Actually call invalidate
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Mar 24, 2017
1 parent 09f79aa commit 987f494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/presence.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def _update_presence_txn(self, txn, stream_orderings, presence_states):
state.user_id, stream_id,
)
txn.call_after(
self._get_presence_for_user, (state.user_id,)
self._get_presence_for_user.invalidate, (state.user_id,)
)

# Actually insert new rows
Expand Down

0 comments on commit 987f494

Please sign in to comment.