diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2020-03-26 22:59:39 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2020-04-05 20:22:46 +0200 |
commit | 069378f95ca09a73252cefadd5cf8d2e4a976a61 (patch) | |
tree | b20d968cfb04f96eb6b104b529c7e5ac567d3bf7 /wee_slack.py | |
parent | a037db8cfe9d21d6faf68491c09f293d49902fc5 (diff) | |
download | wee-slack-069378f95ca09a73252cefadd5cf8d2e4a976a61.tar.gz |
Include files in attachments
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py index 6e129d4..789e750 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -3485,6 +3485,10 @@ def unwrap_attachments(message_json, text_before): else: t.append(f['value']) + files = unwrap_files(attachment, None) + if files: + t.append(files) + footer = attachment.get("footer") if footer: ts = attachment.get("ts") |