Remove call to _cache_media (#1419)

Fixes #1418
This commit is contained in:
YouTwitFace 2020-03-29 04:15:53 -04:00 committed by GitHub
parent 65d8205eef
commit 1669d80082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1046,7 +1046,6 @@ class MessageMethods:
schedule_date=schedule schedule_date=schedule
) )
msg = self._get_response_message(request, await self(request), entity) msg = self._get_response_message(request, await self(request), entity)
await self._cache_media(msg, file, file_handle, image=image)
return msg return msg
async def delete_messages( async def delete_messages(