Open Jajcus opened 13 years ago
Aby działało get roster...
{{{ --- src/message.c.orig 2009-12-31 02:47:03.000000000 +0100 +++ src/message.c 2009-12-31 02:50:42.000000000 +0100 @@ -208,7 +208,7 @@ xmlnode_put_attrib(msg,"to",s->user->jid); n=xmlnode_insert_tag(msg,"body"); roster=xmlnode_insert_tag(msg,"x");
xmlnode_put_attrib(roster,"xmlns","http://jabber.org/protocol/rosterx");
body=g_strdup(""); results=g_strsplit(e->event.userlist.reply,"\r\n",0); @@ -228,6 +228,7 @@
uin=atoi(cinfo[6]); item=xmlnode_insert_tag(roster,"item");
xmlnode_put_attrib(item,"action","add"); t=g_strconcat(body,"\n",NULL); g_free(body);
}}}
Aby działało get roster...
{{{ --- src/message.c.orig 2009-12-31 02:47:03.000000000 +0100 +++ src/message.c 2009-12-31 02:50:42.000000000 +0100 @@ -208,7 +208,7 @@ xmlnode_put_attrib(msg,"to",s->user->jid); n=xmlnode_insert_tag(msg,"body"); roster=xmlnode_insert_tag(msg,"x");
xmlnode_put_attrib(roster,"xmlns","http://jabber.org/protocol/rosterx");
body=g_strdup(""); results=g_strsplit(e->event.userlist.reply,"\r\n",0); @@ -228,6 +228,7 @@
}}}