cloudhopper-smpp icon indicating copy to clipboard operation
cloudhopper-smpp copied to clipboard

DeliveryReceipt, err:null error

Open khaing211 opened this issue 9 years ago • 2 comments

when DeliveryReceipt is initialized by constructor

 public DeliveryReceipt(String messageId, int submitCount, int deliveredCount, DateTime submitDate, DateTime doneDate, byte state, int errorCode, String text)

, rawErrorCode is not set. As a result, when toShortMessage() is called, it yield incorrect "err:null" field

khaing211 avatar Apr 16 '15 03:04 khaing211

Looks like a nice find. Would you be willing to take a stab at a fix and submit a PR?

jjlauer avatar Apr 16 '15 03:04 jjlauer

Done.

khaing211 avatar Apr 16 '15 03:04 khaing211