27 Nov
2024
27 Nov
'24
11:11 p.m.
On 11/26/24 9:30 PM, Perry Kollmorgen wrote:
For the code for moderators it currently only adds them:
mailing_list.add_moderator(moderator.email, display_name=moderator.display_name)
Would I need to add something similar which sets a delivery_status for the moderator added ?
I think something like this
mailing_list.add_moderator(moderator.email,
display_name=moderator.display_name)
moderator = mailing_list._get_membership(moderator.email, 'moderator')
prefs = moderator.preferences
prefs['delivery_status'] = 'by_moderator'
prefs.save()
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan