Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

XEP-0093 -> XEP-0144 #20

Open
Jajcus opened this issue May 7, 2011 · 0 comments
Open

XEP-0093 -> XEP-0144 #20

Jajcus opened this issue May 7, 2011 · 0 comments

Comments

@Jajcus
Copy link
Owner

Jajcus commented May 7, 2011

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");

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);
    

}}}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant