Changeset 579

Show
Ignore:
Timestamp:
10/31/04 14:53:13 (4 years ago)
Author:
jajcus
Message:

- apply 'invisible' and 'friends only' settings when registration form submission is processes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/register.c

    r521 r579  
    130130xmlnode field,value; 
    131131char *locale=NULL,*invisible=NULL,*friends_only=NULL; 
     132Session *session; 
    132133 
    133134        field=xmlnode_get_tag(form,"field?var=locale"); 
     
    159160        else 
    160161                u->friends_only=0; 
     162        session=session_get_by_jid(u->jid,NULL,0); 
     163        if (session!=NULL) session_send_status(session); 
    161164        user_save(u); 
    162165