Skip to content

fix: bug unsubscribes are not recorded along with the send - #478

Open
Nolab0 wants to merge 5 commits into
mainfrom
474-bug-unsubscribes-are-not-recorded-along-with-the-send
Open

Nolab0 wants to merge 5 commits into
mainfrom
474-bug-unsubscribes-are-not-recorded-along-with-the-send

Conversation

@Nolab0

@Nolab0 Nolab0 commented Oct 4, 2026

Copy link
Copy Markdown
Member

Close #474

@Nolab0
Nolab0 requested a review from supun-io October 4, 2026 13:17
@codecov

codecov Bot commented Oct 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@supun-io
supun-io requested review from sakithb and removed request for supun-io October 26, 2026 11:53

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this file added in here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, I bumped design to 2.2.1 locally, which removed HeaderLanguageToggle from /marketing, so I copied it to make the build pass. It's unrelated to this PR, so I've reverted the frontend changes.

$sendUpdates = new UpdateSendDto();
$sendUpdates->unsubscribeAt = $this->now();
$this->sendService->updateSend($send, $sendUpdates);
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should handle the reverse as well.
If the user resubscribes again, and it we marked this user as unsubscribed earlier, we have to revert that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: unsubscribes are not recorded along with the send

3 participants