diff options
author | David Baker <dave@matrix.org> | 2016-04-12 13:35:08 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-04-12 13:35:08 +0100 |
commit | 7b39bcdaae70e3a167d38bb1cdf8e6d4d95f0cca (patch) | |
tree | 39eba8f3aae7a23ec0a4e13793892d2d9daab0b1 /synapse | |
parent | Split into separate servlet classes (diff) | |
download | synapse-7b39bcdaae70e3a167d38bb1cdf8e6d4d95f0cca.tar.xz |
Mis-named function
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/rest/client/v1/pusher.py | 2 | ||||
-rw-r--r-- | synapse/storage/pusher.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v1/pusher.py b/synapse/rest/client/v1/pusher.py index 321eadbc24..d792dac648 100644 --- a/synapse/rest/client/v1/pusher.py +++ b/synapse/rest/client/v1/pusher.py @@ -37,7 +37,7 @@ class PushersRestServlet(ClientV1RestServlet): requester = yield self.auth.get_user_by_req(request) user = requester.user - pushers = yield self.hs.get_datastore().get_pushers_by_app_user_id( + pushers = yield self.hs.get_datastore().get_pushers_by_user_id( user.to_string() ) diff --git a/synapse/storage/pusher.py b/synapse/storage/pusher.py index 11feab72de..90ec06809a 100644 --- a/synapse/storage/pusher.py +++ b/synapse/storage/pusher.py @@ -76,7 +76,7 @@ class PusherStore(SQLBaseStore): defer.returnValue(rows) @defer.inlineCallbacks - def get_pushers_by_app_user_id(self, user_id): + def get_pushers_by_user_id(self, user_id): def r(txn): sql = ( "SELECT * FROM pushers" |