mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-01 09:54:20 -04:00
Query devices table for last seen info.
This is a) simpler than querying user_ips directly and b) means we can purge older entries from user_ips without losing the required info. The storage functions now no longer return the access_token, since it was unused.
This commit is contained in:
parent
ed80231ade
commit
51d28272e2
2 changed files with 8 additions and 50 deletions
|
@ -55,7 +55,6 @@ class ClientIpStoreTestCase(unittest.HomeserverTestCase):
|
|||
{
|
||||
"user_id": user_id,
|
||||
"device_id": "device_id",
|
||||
"access_token": "access_token",
|
||||
"ip": "ip",
|
||||
"user_agent": "user_agent",
|
||||
"last_seen": 12345678000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue