Add a link to the bottom of all messaging that will allow a user to remove themselves from competitions messaging.
When a user unsubscribes we only remove them from getting messaging for the competition that they unsubscribed for. The user is not removed from the competition.
Tasks
Add a column to the competition_user table to track if a user has unsubscribed from messaging.
Filter users who have unsubscribed from the group of users we pull to send messages to
generate a link that has the users id, and competition id, to unsubscribe the user from.
Add a link to the bottom of all messaging that will allow a user to remove themselves from competitions messaging.
When a user unsubscribes we only remove them from getting messaging for the competition that they unsubscribed for. The user is not removed from the competition.
Tasks
competition_user
table to track if a user has unsubscribed from messaging.