Prefill client_ip_last_seen in replication

This commit is contained in:
Erik Johnston 2018-02-14 12:23:59 +00:00 committed by Richard van der Hoff
parent 6373874833
commit 7a1406d144

View file

@ -42,6 +42,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
)