comparison src/protocols/jabber/chat.c @ 7294:e5d0f5cb61fb

[gaim-migrate @ 7877] turns out this won't hurt anything committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 17 Oct 2003 21:29:15 +0000
parents 89e211509d02
children dd4b4a187171
comparison
equal deleted inserted replaced
7293:89e211509d02 7294:e5d0f5cb61fb
190 presence = jabber_presence_create(gc->away_state, gc->away); 190 presence = jabber_presence_create(gc->away_state, gc->away);
191 full_jid = g_strdup_printf("%s/%s", room_jid, handle); 191 full_jid = g_strdup_printf("%s/%s", room_jid, handle);
192 xmlnode_set_attrib(presence, "to", full_jid); 192 xmlnode_set_attrib(presence, "to", full_jid);
193 g_free(full_jid); 193 g_free(full_jid);
194 194
195 /*
196 x = xmlnode_new_child(presence, "x"); 195 x = xmlnode_new_child(presence, "x");
197 xmlnode_set_attrib(x, "xmlns", "http://jabber.org/protocol/muc"); 196 xmlnode_set_attrib(x, "xmlns", "http://jabber.org/protocol/muc");
198 */
199 197
200 if(passwd && *passwd) { 198 if(passwd && *passwd) {
201 xmlnode *password = xmlnode_new_child(x, "password"); 199 xmlnode *password = xmlnode_new_child(x, "password");
202 xmlnode_insert_data(password, passwd, -1); 200 xmlnode_insert_data(password, passwd, -1);
203 } 201 }