1
0
mirror of https://github.com/gryf/slack-backup.git synced 2025-12-17 19:40:21 +01:00

Fix for skipping messages for attachements.

This commit is contained in:
2018-05-03 10:41:07 +02:00
parent 641d67065c
commit 03972e609f

View File

@@ -191,7 +191,7 @@ class Client(object):
user = self._get_user(data) user = self._get_user(data)
if not data['text'].strip(): if not any((data.get('attachments'), data['text'].strip())):
logging.info("Skipping message from `%s' since it's empty", logging.info("Skipping message from `%s' since it's empty",
user.name) user.name)
return return