Do not send message "online" when adding a buddy
authorMikael Berthe <mikael@lilotux.net>
Thu, 15 Dec 2005 18:51:06 +0100
changeset 609 85648a0f963e
parent 608 89f5672eb523
child 610 0e8247cf2bd1
Do not send message "online" when adding a buddy
mcabber/src/jabglue.c
--- a/mcabber/src/jabglue.c	Thu Dec 15 18:42:38 2005 +0100
+++ b/mcabber/src/jabglue.c	Thu Dec 15 18:51:06 2005 +0100
@@ -423,8 +423,7 @@
   // We don't check if the jabber user already exists in the roster,
   // because it allows to re-ask for notification.
 
-  //x = jutil_presnew(JPACKET__SUBSCRIBE, cleanjid, NULL);
-  x = jutil_presnew(JPACKET__SUBSCRIBE, cleanjid, "online");
+  x = jutil_presnew(JPACKET__SUBSCRIBE, cleanjid, NULL);
   jab_send(jc, x);
   xmlnode_free(x);