Re: Deselecting "Receive Mail" on the website ml subscribe form is broken

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Amir Rohan <amir(dot)rohan(at)mail(dot)com>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Deselecting "Receive Mail" on the website ml subscribe form is broken
Date: 2015-10-02 14:21:32
Message-ID: 20151002142132.GX2573@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Magnus Hagander wrote:
> On Tue, Sep 29, 2015 at 4:14 PM, Alvaro Herrera <alvherre(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Amir Rohan 2015-10-02 14:26:59 Re: No easy way to join discussion in existing thread when not subscribed
Previous Message Kevin Grittner 2015-10-02 14:04:23 Re: No easy way to join discussion in existing thread when not subscribed