Show
Ignore:
Timestamp:
01/27/11 21:22:20 (16 months ago)
Author:
ajk <ajk@…>
Children:
aab07470af6dc81c6a52e8b8446582745216df17
Parents:
cbc895b6da7a6196ef0422747bd7dec2a40551d5
git-committer:
ajk <ajk@…> (01/27/11 21:22:20)
Message:

#82: Integrate sub/unsub messages and email confirmation messages

Signed-off-by: ajk <ajk@…>

Location:
http
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • http/confirm.cc

    r2705dcb rf2c6ab7  
    11/*  This file is part of Alue, the multiprotocol Internet discussion daemon 
    22 
    3     Copyright © 2009, 2010 Antti-Juhani Kaijanaho 
     3    Copyright © 2009, 2010, 2011 Antti-Juhani Kaijanaho 
    44 
    55    Alue is free software: you can redistribute it and/or modify it 
     
    7777                { 
    7878                        boost::shared_ptr<resource> er; 
    79                         if (u->verify_delivery_email(tokstr)) 
     79                        if (u->verify_delivery_email(tokstr, cb)) 
    8080                                er.reset(new redir_resource(cb, 
    8181                                                            "/confirmed.html", 
  • http/sub.cc

    r383796f rf2c6ab7  
    11/*  This file is part of Alue, the multiprotocol Internet discussion daemon 
    22 
    3     Copyright © 2009, 2010 Antti-Juhani Kaijanaho 
     3    Copyright © 2009, 2010, 2011 Antti-Juhani Kaijanaho 
    44 
    55    Alue is free software: you can redistribute it and/or modify it 
     
    9898                if (sub) 
    9999                { 
    100                         gr->add_subscriber(u, cb); 
    101                         if (!u->is_delivery_email_verified()) 
    102                                 u->send_delivery_email_cookie 
    103                                         (cb, req->get_peer().to_string()); 
     100                        gr->add_subscriber(u, cb, req->get_peer()); 
    104101                } 
    105102                else