changeset 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 89f5672eb523
children 0e8247cf2bd1
files mcabber/src/jabglue.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);