From eae1db9c7d37aaed4b1d199de0502a8c66118a3f Mon Sep 17 00:00:00 2001 From: ekohilas Date: Sat, 7 Oct 2017 18:09:24 +1100 Subject: [PATCH] removed list and rstrip --- fbchat/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbchat/client.py b/fbchat/client.py index 22e9e2a..bc65baa 100644 --- a/fbchat/client.py +++ b/fbchat/client.py @@ -800,7 +800,7 @@ class Client(object): elif k['thread_type'] == 3: entries.append(Room( k['thread_fbid'], - participants = set(p.strip('fbid:') for p in k['participants']), + participants = set(p.lstrip('fbid:') for p in k['participants']), photo = k['image_src'], name = k['name'], message_count = k['message_count'],