From 81e628b9f7a0d49a4add56216271d63915cc36ee Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Fri, 28 Jun 2019 20:27:36 +0200 Subject: [PATCH] Fix explicit reverse=True with ids= not working --- telethon/client/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/client/messages.py b/telethon/client/messages.py index 54b262da..12732ec6 100644 --- a/telethon/client/messages.py +++ b/telethon/client/messages.py @@ -439,7 +439,7 @@ class MessageMethods: print(message.photo) """ if ids is not None: - return _IDsIter(self, limit, entity=entity, ids=ids) + return _IDsIter(self, reverse=reverse, limit=limit, entity=entity, ids=ids) return _MessagesIter( client=self,