From a0c111c1ea96bc3e4c3a5f6478482e2f548b6bf8 Mon Sep 17 00:00:00 2001 From: Sijmen Schoon Date: Mon, 26 Sep 2016 04:02:26 +0200 Subject: [PATCH] Add missing await to m.image matrix->tg --- app_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_service.py b/app_service.py index 6a62f55..59b99a5 100644 --- a/app_service.py +++ b/app_service.py @@ -160,7 +160,7 @@ async def matrix_transaction(request): url_str = MATRIX_HOST_EXT + \ '_matrix/media/r0/download/{}{}' \ .format(url.netloc, quote(url.path)) - url_str = shorten_url(url_str) + url_str = await shorten_url(url_str) caption = '<{}> {} ({})'.format(username, content['body'], url_str)