cfc603 / django-twilio-sms-models

BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Handle unsubscribed PhoneNumber #17

Closed cfc603 closed 8 years ago

cfc603 commented 8 years ago

Now tracks unsubscribed PhoneNumber to be more in line with Twilio's standard. Checks all inbound messages for subscribe & unsubscribe keywords, updates PhoneNumber.unsubscribed accordingly and sends signal ubsubscribe_signal.

Message.send_response_message now checks PhoneNumber.unsubscribed and sends message only when False.

Fixes #15 & #16

codecov-io commented 8 years ago

Current coverage is 94.84%

Merging #17 into master will increase coverage by +0.33%

@@           master        #17   diff @@
========================================
  Files          10         11     +1   
  Lines         346        368    +22   
  Methods         0          0          
  Branches        0          0          
========================================
+ Hits          327        349    +22   
  Misses         19         19          
  Partials        0          0          

Powered by Codecov. Last updated by d90b5d5...c781b14