This commit is contained in:
Alex 2020-03-04 18:12:00 +01:00
parent d4d3cc422b
commit 536f3cd6b8

View file

@ -50,7 +50,6 @@ EVENT_MESSAGE = "message"
EVENT_ACTION = "action"
def mediaObjectOfURL(url):
return {
"filename": url.split("?")[0].split("/")[-1],
@ -336,6 +335,7 @@ class MessengerBridge:
self.setup_joined_thread(thread)
def setup_joined_thread(self, thread):
sys.stderr.write("(python) setup_joined_thread {}".format(thread))
if thread.type == ThreadType.GROUP:
members = self.client.fetchAllUsersFromThreads([thread])