diff options
author | Erik Johnston <erik@matrix.org> | 2017-06-27 14:46:12 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-06-27 14:46:12 +0100 |
commit | a0a561ae852c6a031f8611859d95e2ad563770ca (patch) | |
tree | c6e4bd6bd58526f2fcf21d96965c977aacee4d73 /synapse/storage/__init__.py | |
parent | Batch upsert user ips (diff) | |
download | synapse-a0a561ae852c6a031f8611859d95e2ad563770ca.tar.xz |
Fix up client ips to read from pending data
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. |