--- a/mcabber/src/jabglue.c Tue Apr 26 20:05:14 2005 +0000
+++ b/mcabber/src/jabglue.c Wed Apr 27 19:48:57 2005 +0000
@@ -293,7 +293,7 @@
// because it allows to re-ask for notification.
//x = jutil_presnew(JPACKET__SUBSCRIBE, jid, NULL);
- x = jutil_presnew(JPACKET__SUBSCRIBE, jid, "online");
+ x = jutil_presnew(JPACKET__SUBSCRIBE, (char*)jid, "online");
jab_send(jc, x);
xmlnode_free(x);
@@ -731,6 +731,10 @@
if (!isagent) {
scr_LogPrint("<%s> wants to subscribe "
"to your network presence updates", from);
+ // FIXME we accept everybody...
+ x = jutil_presnew(JPACKET__SUBSCRIBED, from, 0);
+ jab_send(jc, x);
+ xmlnode_free(x);
} else {
x = jutil_presnew(JPACKET__SUBSCRIBED, from, 0);
jab_send(jc, x);