Corrected use of notify-unprovisioned flag
This commit is contained in:
parent
5409f34c79
commit
eafec96bd9
|
@ -303,6 +303,10 @@ static int sendNotify(MmsEnvelope *e)
|
||||||
if (phonenum) {
|
if (phonenum) {
|
||||||
int send_ind = mms_ind_send(settings->prov_getstatus, phonenum);
|
int send_ind = mms_ind_send(settings->prov_getstatus, phonenum);
|
||||||
|
|
||||||
|
if (send_ind < 0 &&
|
||||||
|
settings->notify_unprovisioned)
|
||||||
|
send_ind = 0;
|
||||||
|
|
||||||
if (send_ind < 0) { /* That is, recipient is not (yet) provisioned. */
|
if (send_ind < 0) { /* That is, recipient is not (yet) provisioned. */
|
||||||
res = MMS_SEND_ERROR_TRANSIENT;
|
res = MMS_SEND_ERROR_TRANSIENT;
|
||||||
err = octstr_format("%S is not provisioned for MMS reception, delivery deferred!",
|
err = octstr_format("%S is not provisioned for MMS reception, delivery deferred!",
|
||||||
|
|
Loading…
Reference in New Issue