comparison mcabber/src/jabglue.c @ 609:85648a0f963e

Do not send message "online" when adding a buddy
author Mikael Berthe <mikael@lilotux.net>
date Thu, 15 Dec 2005 18:51:06 +0100
parents 0b4ed231ebc2
children 0e8247cf2bd1
comparison
equal deleted inserted replaced
608:89f5672eb523 609:85648a0f963e
421 cleanjid = jidtodisp(jid); 421 cleanjid = jidtodisp(jid);
422 422
423 // We don't check if the jabber user already exists in the roster, 423 // We don't check if the jabber user already exists in the roster,
424 // because it allows to re-ask for notification. 424 // because it allows to re-ask for notification.
425 425
426 //x = jutil_presnew(JPACKET__SUBSCRIBE, cleanjid, NULL); 426 x = jutil_presnew(JPACKET__SUBSCRIBE, cleanjid, NULL);
427 x = jutil_presnew(JPACKET__SUBSCRIBE, cleanjid, "online");
428 jab_send(jc, x); 427 jab_send(jc, x);
429 xmlnode_free(x); 428 xmlnode_free(x);
430 429
431 x = jutil_iqnew(JPACKET__SET, NS_ROSTER); 430 x = jutil_iqnew(JPACKET__SET, NS_ROSTER);
432 y = xmlnode_get_tag(x, "query"); 431 y = xmlnode_get_tag(x, "query");