diff options
author | Erik Johnston <erik@matrix.org> | 2019-03-08 11:44:20 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-03-08 11:44:20 +0000 |
commit | 8c4896668fd602e2822dfc48e992ed48bbc5adf7 (patch) | |
tree | 99c0052e1697e74379050ad7af4cef2d62f21c2e /synapse/replication/slave | |
parent | Factor out soft fail checks (diff) | |
parent | Merge pull request #4829 from matrix-org/erikj/device_list_seen_updates (diff) | |
download | synapse-8c4896668fd602e2822dfc48e992ed48bbc5adf7.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/soft_fail_impl
Diffstat (limited to 'synapse/replication/slave')
-rw-r--r-- | synapse/replication/slave/storage/client_ips.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/client_ips.py b/synapse/replication/slave/storage/client_ips.py index 60641f1a49..5b8521c770 100644 --- a/synapse/replication/slave/storage/client_ips.py +++ b/synapse/replication/slave/storage/client_ips.py @@ -43,6 +43,8 @@ class SlavedClientIpStore(BaseSlavedStore): if last_seen is not None and (now - last_seen) < LAST_SEEN_GRANULARITY: return + self.client_ip_last_seen.prefill(key, now) + self.hs.get_tcp_replication().send_user_ip( user_id, access_token, ip, user_agent, device_id, now ) |