1
0
Fork 0

Corrected use of notify-unprovisioned flag

This commit is contained in:
bagyenda 2005-07-26 13:26:02 +00:00
parent 5409f34c79
commit eafec96bd9
1 changed files with 4 additions and 0 deletions

View File

@ -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!",