mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Bugfix: UnsubsribeLinks was broken
This commit is contained in:
parent
277c567f54
commit
ae1de36ee0
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ class Message implements \JsonSerializable
|
||||||
// Unsubscribe links
|
// Unsubscribe links
|
||||||
$UnsubsribeLinks = $oHeaders->ValueByName(\MailSo\Mime\Enumerations\Header::LIST_UNSUBSCRIBE);
|
$UnsubsribeLinks = $oHeaders->ValueByName(\MailSo\Mime\Enumerations\Header::LIST_UNSUBSCRIBE);
|
||||||
if ($UnsubsribeLinks) {
|
if ($UnsubsribeLinks) {
|
||||||
$UnsubsribeLinks = \array_map(
|
$oMessage->UnsubsribeLinks = \array_map(
|
||||||
function ($link) {
|
function ($link) {
|
||||||
return trim($link, ' <>');
|
return trim($link, ' <>');
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue