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) {
|
||||
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. */
|
||||
res = MMS_SEND_ERROR_TRANSIENT;
|
||||
err = octstr_format("%S is not provisioned for MMS reception, delivery deferred!",
|
||||
|
|
Loading…
Reference in New Issue