Skip to content

Commit

Permalink
Autotriggers no longer sends attachments back. resolves #2932
Browse files Browse the repository at this point in the history
  • Loading branch information
fourjr committed Jan 11, 2021
1 parent d19adcf commit 80010ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ however, insignificant breaking changes do not guarantee a major version bump, s

- Additional image uploads now render properly. ([PR #2933](https://github.com/kyb3r/modmail/pull/2933)))
- `confirm_thread_creation` no longer raises unnecessary errors. ([GH #2931](https://github.com/kyb3r/modmail/issues/2931), [PR #2933](https://github.com/kyb3r/modmail/pull/2933))
- Autotriggers no longer sends attachments back. ([GH #2932](https://github.com/kyb3r/modmail/issues/2932))


# v3.8.0
Expand Down
1 change: 1 addition & 0 deletions core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ class DummyMessage:
"""

def __init__(self, message):
message.attachments = []
self._message = message

def __getattr__(self, name: str):
Expand Down

0 comments on commit 80010ca

Please sign in to comment.