[Vortex] Fix reporting APNS endpoint ID in log messages

Review Request #788 — Created July 27, 2021 and submitted — Latest diff uploaded

pprkut
Lunr.Vortex
a8b2f1e...
lunr
$id is the message ID, not the index of the endpoint. In ApnsPHP
the Message we pass gets split into one message class per endpoint.
Thus, while message IDs increase, the endpoint index is always 0.
This is why it works for the first message, but breaks for all
later ones.

Unit tests

Loading...