diff --git a/fbchat/client.py b/fbchat/client.py index 6a28813..a1cc49e 100644 --- a/fbchat/client.py +++ b/fbchat/client.py @@ -484,7 +484,7 @@ class Client(object): """ threads = [] threads += self.fetchThreadList(thread_location=thread_location) - if len(threads) == 0: + if not threads: return [] while True: lastThreadTimestamp = threads[-1].last_message_timestamp