We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 448e83f commit 63335d5Copy full SHA for 63335d5
1 file changed
raven/api/raven_message.py
@@ -449,6 +449,8 @@ def get_all_files_shared_in_channel(
449
if file_type:
450
if file_type == "image":
451
query = query.where(message.message_type == "Image")
452
+ elif file_type == "file":
453
+ query = query.where(message.message_type == "File")
454
elif file_type == "pdf":
455
query = query.where(file.file_type == "pdf")
456
else:
0 commit comments