From a53ba33a81771efdccc56560f89d6989105b722a Mon Sep 17 00:00:00 2001 From: 2FWAH <36737818+2FWAH@users.noreply.github.com> Date: Fri, 23 Feb 2018 09:23:34 +0100 Subject: [PATCH] Set offset to 'None' by default --- fbchat/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbchat/client.py b/fbchat/client.py index 2f6b1da..cdcfb0f 100644 --- a/fbchat/client.py +++ b/fbchat/client.py @@ -754,7 +754,7 @@ class Client(object): return list(reversed([graphql_to_message(message) for message in j['message_thread']['messages']['nodes']])) - def fetchThreadList(self, offset=0, limit=20, thread_location=ThreadLocation.INBOX, before=None): + def fetchThreadList(self, offset=None, limit=20, thread_location=ThreadLocation.INBOX, before=None): """Get thread list of your facebook account :param offset: Deprecated. Do not use!