Skip to content

Commit d362e2b

Browse files
committed
Remove hack to stop tracking admin-api device IPs and last seen
1 parent 008e3b2 commit d362e2b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

synapse/storage/databases/main/client_ips.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -630,10 +630,6 @@ async def insert_client_ip(
630630
if user_agent == "sync-v3-proxy-":
631631
return
632632

633-
# Beeper hack: don't track admin API IPs as not user generated requests
634-
if user_id == "@admin-api:beeper.com":
635-
return
636-
637633
if not now:
638634
now = int(self._clock.time_msec())
639635
key = (user_id, access_token, ip)

0 commit comments

Comments
 (0)