Skip to content

Commit

Permalink
πŸ› Fix special handling of first message
Browse files Browse the repository at this point in the history
  • Loading branch information
pajowu committed Jan 18, 2024
1 parent c38d97a commit dba6624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion froide/foirequest/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def send_foimessage_sent_confirmation(message: FoiMessage = None, **kwargs):

messages = request.get_messages()
start_thread = False
if len(messages) == 1:
if len(messages) >= 1 and message == messages[0]:
if request.project_id is not None:
# Don't notify on first message in a project
return
Expand Down

0 comments on commit dba6624

Please sign in to comment.