mirror of
https://github.com/gryf/slack-backup.git
synced 2025-12-17 11:30:25 +01:00
Fix for skipping messages for attachements.
This commit is contained in:
@@ -191,7 +191,7 @@ class Client(object):
|
||||
|
||||
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",
|
||||
user.name)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user