Bug: sms_manual_campaign.py condition 2 caught first_sms_sent groups after 3h WITHOUT checking if second SMS was already sent. This caused manual campaign (5min timer) to move groups to manual_required before second campaign (10min timer) could send the second SMS. Fix: added second_sms_sent_at IS NOT NULL check to condition 2. Now manual only moves groups where second SMS was already sent AND client still didn't agree after 3 more hours. Also restored 17 groups that were incorrectly moved to manual_required back to first_sms_sent so second campaign can send their second SMS. |
||
|---|---|---|
| .. | ||
| __pycache__ | ||
| anonymize-1c-xml.mjs | ||
| backup.py | ||
| sms_first_campaign.py | ||
| sms_first_campaign.service | ||
| sms_first_campaign.timer | ||
| sms_first_campaign_ref.py | ||
| sms_manual_campaign.py | ||
| sms_paid_storage_campaign.py | ||
| sms_second_campaign.py | ||