Feature Proposal: removeSubscription() function is absent in MailerContrib
Motivation
This feature is necessary for completely removal of the user subscription from the
WebNotify topic. At the moment there is only unsubscribe() function that adds unsubscription record to the
WebNotify topic
Description and Documentation
Imagine most of the users on a twiki site are not experienced ones and don't know how to edit
WebNotify topic. Or they are not allowed to edit
WebNotify.
Instead users have two buttons 'Subscribe' and 'Unsubscribe' on each topic. If a user clicks on 'Subscribe' button the Plugin adds a new record to
WebNotify topic. Then user might want to unsubscribe by clicking 'Unsubscribe'. Now we have a record in
WebNotify topic like this:
* WillyWhale : SomeTopic - SomeTopic
The problem is if the user decide to subscribe to this topic again by clicking 'Subscribe' button there is no way to remove '- SomeTopic' using API functions.
Examples
Impact
Implementation
--
Contributors: AndrewTutolmin - 11 Mar 2008
Discussion
Agreed, though as I pointed out before there are issues with doing anything more complex than simply removing the subscription from the same line; it's too complex to work through all the groups to determine the real subscription status (which is why i didn't provide the function in the first place).
--
CrawfordCurrie - 15 Mar 2008