comparison src/protocols/jabber/presence.c @ 10721:fbd50c34a27f

[gaim-migrate @ 12319] i can't remember if the spec changed, or I read it wrong, but this fixes jabber chat away stuff committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 24 Mar 2005 15:34:20 +0000
parents b256ce6b85b8
children a14b82fc3a95
comparison
equal deleted inserted replaced
10720:0e017707532f 10721:fbd50c34a27f
452 } else { 452 } else {
453 if(!chat->conv) { 453 if(!chat->conv) {
454 chat->id = i++; 454 chat->id = i++;
455 chat->muc = muc; 455 chat->muc = muc;
456 chat->conv = serv_got_joined_chat(js->gc, chat->id, room_jid); 456 chat->conv = serv_got_joined_chat(js->gc, chat->id, room_jid);
457 g_free(chat->handle);
458 chat->handle = g_strdup(jid->resource);
459 gaim_conv_chat_set_nick(GAIM_CONV_CHAT(chat->conv), jid->resource); 457 gaim_conv_chat_set_nick(GAIM_CONV_CHAT(chat->conv), jid->resource);
460 458
461 /* <iq to='room@server' 459 /* <iq to='room@server'
462 type='get'> 460 type='get'>
463 <query xmlns='http://jabber.org/protocol/disco#info' 461 <query xmlns='http://jabber.org/protocol/disco#info'