http://bugs.winehq.org/show_bug.cgi?id=7408
Summary: AppDB get_notify_email_address_list returns new maintainer's address twice Product: WineHQ Apps Database Version: unspecified Platform: Other OS/Version: other Status: UNCONFIRMED Severity: minor Priority: P2 Component: website-bugs AssignedTo: wine-bugs@winehq.org ReportedBy: ploujj@gmail.com
I noticed that after I added myself as a monitor to the Beyond Good and Evil demo version (http://appdb.winehq.org/appview.php?iVersionId=5161) AppDB printed two boxes with the following text:
[ You will now receive an email whenever changes are made to this Application version. ] [ Message sent to: ploujj@gmail.com ploujj@gmail.com cmorgan@alum.wpi.edu tony.lambregts@gmail.com xerox_xerox2000@yahoo.co.uk frank@frankscorner.org alex@thehandofagony.com killertux@suomi24.fi molle.bestefich@gmail.com jan.wine@zerebecki.de nlaw@nildram.co.uk ]
As you can see my email appears twice. I'm not a maintainer of this application, and obvious I'm not a monitor for this particular version. I am a monitor for the only other version of this app (http://appdb.winehq.org/appview.php?iVersionId=3786), but this logically doesn't explain why I should be sent two emails.
Actually, I only got one email as a result of this. Note that this could either be explained by gmail filtering duplicate emails (possibly) or the AppDB mailer being smart somewhere down the line.
I quickly looked at the AppDB code and determined that SendNotificationMail in include/monitor.php prints those messages by first calling get_notify_email_address_list in include/user.php which returns a list of emails. Without access to the database, I can only guess that it returns my email twice.
Anyways, it would be nice to have this fixed :)