No notifications on unsubscribe

This commit is contained in:
Nikolai R Kristiansen committed 2017-11-02 00:01:58 +01:00
1 parent d07feb5a78
commit b92739b894
1 file changed
+1 -1
+1 -1
View File
@@ -132,7 +132,7 @@ def unsubscribe(list_name):
mlist = get_mailing_list(list_name)
try:
mlist.ApprovedDeleteMember(address)
mlist.ApprovedDeleteMember(address, userack=False, admin_notif=False)
mlist.Save()
except Errors.NotAMemberError:
return make_response(jsonify("Not a member."), 404)