From 43fbe4c6555de0e71138dccd1108b8a68fafcb5f Mon Sep 17 00:00:00 2001 From: botcs Date: Tue, 7 Mar 2017 16:09:00 +0100 Subject: [PATCH] assertion added for getThreadList end --- fbchat/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbchat/client.py b/fbchat/client.py index 351894b..63ae8f0 100644 --- a/fbchat/client.py +++ b/fbchat/client.py @@ -561,7 +561,7 @@ class Client(object): # if not end: end = start + 20 # if end <= start: end = start + end - assert end is None, 'end is deprecated' + assert end is None, '`end` is deprecated, always return last 20 threads' timestamp = now() date = datetime.now()