Re: Deselecting "Receive Mail" on the website ml subscribe form is broken - Mailing list pgsql-www

From Alvaro Herrera
Subject Re: Deselecting "Receive Mail" on the website ml subscribe form is broken
Date
Msg-id 20151002142132.GX2573@alvherre.pgsql
Whole thread Raw
In response to Re: Deselecting "Receive Mail" on the website ml subscribe form is broken  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Deselecting "Receive Mail" on the website ml subscribe form is broken
List pgsql-www
Magnus Hagander wrote:
> On Tue, Sep 29, 2015 at 4:14 PM, Alvaro Herrera <alvherre@2ndquadrant.com>
> wrote:

> > I was looking at this when Amir first posted it, and I was wondering how
> > it was possible that it ever worked in the first place.  The second
> > command should really be "set pgsql-bugs nomail" (patch below), but as
> > you say I'm unsure that it works if the subscription hasn't been
> > confirmed.  A command that should work in either case is
> >   subscribe-set pgsql-bugs nomail
> >   subscribe-set pgsql-bugs nomail,digest
> > but I'm not sure what's the python-ish way to express that.
> 
> Well, if we're going to do it, let's do it right :)
> 
> Does the attached logic seem right?

Yeah, it does to me.

(I assume that "lists" can in fact be a single list only.)

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-www by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: No easy way to join discussion in existing thread when not subscribed
Next
From: "Amir Rohan"
Date:
Subject: Re: No easy way to join discussion in existing thread when not subscribed