Fixed Unsubscribe does not disable activity summary emails

Kirby

Well-known member
Affected version
2.2.12
Activity summary emails are some kind of newsletter and thus should be disabled when the users sends an unsubscribe email.

This is currently not the case, only admin initiated newsletters / emails are deactivated:
\XF\EmailUnsubscribe\Processor:applyUserUnsubscribeAction()
PHP:
public function applyUserUnsubscribeAction(User $user)
{
    $user->Option->receive_admin_email = false;
    $user->Option->save(false);
}
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.13).

Change log:
Ensure that unsubscribing from emails also unsubscribes the user from activity summary emails
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom