Closed Defcon0 closed 2 years ago
Hello,
if I have assigned a singleSRC in my event, the mail isn't sent anymore. Cause is this:
https://github.com/codefog/contao-events_subscriptions/blob/master/src/Codefog/EventsSubscriptions/NotificationSender.php#L146
This leads to binary uuid being added to the tokens field.
2 solutions would be possible:
Currently I check problematic values with following code:
// remove non-printable characters $cleanedTokens = []; foreach ($tokens as $k => $v) { if (\json_encode($v) !== false) { $cleanedTokens[$k] = $v; } } return $cleanedTokens;
Would it be possible to integrate it?
Bye!
It shouldn't matter if you send the messages right away, but if you are using a queue, then it is a bug in Notification Center: https://github.com/terminal42/contao-notification_center/issues/248
Hello,
if I have assigned a singleSRC in my event, the mail isn't sent anymore. Cause is this:
https://github.com/codefog/contao-events_subscriptions/blob/master/src/Codefog/EventsSubscriptions/NotificationSender.php#L146
This leads to binary uuid being added to the tokens field.
2 solutions would be possible:
Currently I check problematic values with following code:
Would it be possible to integrate it?
Bye!