diff options
author | 2025-02-08 12:56:56 -0500 | |
---|---|---|
committer | 2025-02-08 12:56:56 -0500 | |
commit | 35cfb5481e600f08094708c1725d7a37219576e9 (patch) | |
tree | d4e317cb8371688008e1aff58bc9d177c29250e5 /tests | |
parent | `and` -> `or` (diff) |
Use `"charset" in Attachment.content_type` to determine that it's text-based.
Previously, `on_message` used `Attachment.content_type.startswith("text")` for this, but this is false for some text-based files (like json).
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions