cashmusic/DIY — Issue #144: Add/remove address needs to handle connections
Author: jessevondoom
Created: 2011-11-20 07:29:51+00:00
State: open

During the add/remove call we need to check to see if the list is synced to an external connection, and run through the switch check for Mailchimp, firing add/remove as appropriate. This is the bit that keeps everything in sync in real-time.

Might be smart to add a $donotdync=false flag to the functions — set it true only when the call is made from a webhook where we wouldn't need it pinging the remote service and attempting to remove the address that was just removed...