Ignore:
Timestamp:
2007-07-01T19:58:23Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
c377417
Parents:
b9f8b87
Message:

Keeping an original (not normalized) copy of the user's nickname. This
fixes a bug reported by James Teh in the monster ticket #20. There's no
proper garbage collection yet in the Jabber conference code, really have
to do that soon. :-(

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/conference.c

    rb9f8b87 r9c9b37c  
    5454                return NULL;
    5555        }
    56         g_free( roomjid );
     56       
     57        /* roomjid isn't normalized yet, and we need an original version
     58           of the nick to send a proper presence update. */
     59        jc->my_full_jid = roomjid;
    5760       
    5861        c = imcb_chat_new( ic, room );
     
    8992        node = xt_new_node( "x", NULL, NULL );
    9093        xt_add_attr( node, "xmlns", XMLNS_MUC );
    91         node = jabber_make_packet( "presence", "unavailable", jc->me->full_jid, node );
     94        node = jabber_make_packet( "presence", "unavailable", jc->my_full_jid, node );
    9295       
    9396        if( !jabber_write_packet( ic, node ) )
Note: See TracChangeset for help on using the changeset viewer.