Changeset b2c062d for protocols/jabber


Ignore:
Timestamp:
2008-09-28T11:21:55Z (16 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
fb98634
Parents:
94acdd0
Message:

Adding the password to the right part of the <presence> stanza so joining
password-protected rooms *really* works.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/conference.c

    r94acdd0 rb2c062d  
    3636        node = xt_new_node( "x", NULL, NULL );
    3737        xt_add_attr( node, "xmlns", XMLNS_MUC );
    38         node = jabber_make_packet( "presence", NULL, roomjid, node );
    3938        if( password )
    4039                xt_add_child( node, xt_new_node( "password", password, NULL ) );
     40        node = jabber_make_packet( "presence", NULL, roomjid, node );
    4141        jabber_cache_add( ic, node, jabber_chat_join_failed );
    4242       
Note: See TracChangeset for help on using the changeset viewer.