summary refs log tree commit diff
path: root/synapse/appservice/api.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-07-06 07:40:35 -0400
committerGitHub <noreply@github.com>2020-07-06 07:40:35 -0400
commit6d687ebba11c701698df1f3da6fccec3b486c25a (patch)
tree5590d424421589f99edaccba3c740dcb0653f9fa /synapse/appservice/api.py
parentDon't ignore `set_tweak` actions with no explicit `value`. (#7766) (diff)
downloadsynapse-6d687ebba11c701698df1f3da6fccec3b486c25a.tar.xz
Convert the appservice handler to async/await. (#7775)
Diffstat (limited to 'synapse/appservice/api.py')
-rw-r--r--synapse/appservice/api.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/appservice/api.py b/synapse/appservice/api.py
index da9a5e86d4..f92bfb420b 100644
--- a/synapse/appservice/api.py
+++ b/synapse/appservice/api.py
@@ -98,7 +98,6 @@ class ApplicationServiceApi(SimpleHttpClient):
         if service.url is None:
             return False
         uri = service.url + ("/users/%s" % urllib.parse.quote(user_id))
-        response = None
         try:
             response = yield self.get_json(uri, {"access_token": service.hs_token})
             if response is not None:  # just an empty json object