TMP
This commit is contained in:
parent
d4d3cc422b
commit
536f3cd6b8
1 changed files with 1 additions and 1 deletions
2
external/messenger.py
vendored
2
external/messenger.py
vendored
|
@ -50,7 +50,6 @@ EVENT_MESSAGE = "message"
|
||||||
EVENT_ACTION = "action"
|
EVENT_ACTION = "action"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def mediaObjectOfURL(url):
|
def mediaObjectOfURL(url):
|
||||||
return {
|
return {
|
||||||
"filename": url.split("?")[0].split("/")[-1],
|
"filename": url.split("?")[0].split("/")[-1],
|
||||||
|
@ -336,6 +335,7 @@ class MessengerBridge:
|
||||||
self.setup_joined_thread(thread)
|
self.setup_joined_thread(thread)
|
||||||
|
|
||||||
def setup_joined_thread(self, thread):
|
def setup_joined_thread(self, thread):
|
||||||
|
sys.stderr.write("(python) setup_joined_thread {}".format(thread))
|
||||||
if thread.type == ThreadType.GROUP:
|
if thread.type == ThreadType.GROUP:
|
||||||
members = self.client.fetchAllUsersFromThreads([thread])
|
members = self.client.fetchAllUsersFromThreads([thread])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue