Fixed an incorrect handling in attachments for chat messages
This commit is contained in:
parent
34c5824255
commit
c8375ca138
@ -812,6 +812,7 @@ class chatBuffer(baseBuffer):
|
||||
return local_attachments
|
||||
|
||||
def _send_message(self, text, attachments=[]):
|
||||
if hasattr(self, "attachments_to_be_sent"):
|
||||
self.attachments_to_be_sent = self.upload_attachments(self.attachments_to_be_sent)
|
||||
try:
|
||||
# Let's take care about the random_id attribute.
|
||||
|
Loading…
Reference in New Issue
Block a user