Mercurial > hg
changeset 612:789ec6aed764
Respect RFC 3921 order advice
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 15 Dec 2005 23:08:22 +0100 |
parents | ad737139a144 |
children | a6b8b373e4de |
files | mcabber/src/jabglue.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/jabglue.c Thu Dec 15 22:35:34 2005 +0100 +++ b/mcabber/src/jabglue.c Thu Dec 15 23:08:22 2005 +0100 @@ -423,10 +423,6 @@ // 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); - jab_send(jc, x); - xmlnode_free(x); - x = jutil_iqnew(JPACKET__SET, NS_ROSTER); y = xmlnode_get_tag(x, "query"); z = xmlnode_insert_tag(y, "item"); @@ -449,6 +445,10 @@ jab_send(jc, x); xmlnode_free(x); + x = jutil_presnew(JPACKET__SUBSCRIBE, cleanjid, NULL); + jab_send(jc, x); + xmlnode_free(x); + roster_add_user(cleanjid, name, group, ROSTER_TYPE_USER, sub_pending); g_free(cleanjid); buddylist_build();