diff options
author | Erik Johnston <erikj@jki.re> | 2017-06-27 15:08:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-27 15:08:32 +0100 |
commit | 816605a1376c9686557edf08c24280950214184f (patch) | |
tree | f5c3a1983ab0a0c803218d5eada73299ecae316c /synapse/storage/__init__.py | |
parent | Merge pull request #2290 from matrix-org/erikj/ensure_round_trip (diff) | |
parent | Fix up client ips to read from pending data (diff) | |
download | synapse-816605a1376c9686557edf08c24280950214184f.tar.xz |
Merge pull request #2307 from matrix-org/erikj/user_ip_batch
Batch upsert user ips
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index f119c5a758..b92472df33 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py @@ -304,16 +304,6 @@ class DataStore(RoomMemberStore, RoomStore, ret = yield self.runInteraction("count_users", _count_users) defer.returnValue(ret) - def get_user_ip_and_agents(self, user): - return self._simple_select_list( - table="user_ips", - keyvalues={"user_id": user.to_string()}, - retcols=[ - "access_token", "ip", "user_agent", "last_seen" - ], - desc="get_user_ip_and_agents", - ) - def get_users(self): """Function to reterive a list of users in users table. |