Mercurial > pidgin
diff libpurple/protocols/jabber/jabber.c @ 28760:0f7025534fc5
jabber: Roster Versioning support.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 06 Dec 2009 00:52:10 +0000 |
parents | 531f8367025e |
children | 20f4bce8894d c38f6e6bf4ce 7f1da2fbe7fc |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Sun Dec 06 00:36:59 2009 +0000 +++ b/libpurple/protocols/jabber/jabber.c Sun Dec 06 00:52:10 2009 +0000 @@ -229,6 +229,8 @@ jabber_iq_set_callback(iq, jabber_bind_result_cb, NULL); jabber_iq_send(iq); + } else if (xmlnode_get_child_with_namespace(packet, "ver", NS_ROSTER_VERSIONING)) { + js->server_caps |= JABBER_CAP_ROSTER_VERSIONING; } else /* if(xmlnode_get_child_with_namespace(packet, "auth")) */ { /* If we get an empty stream:features packet, or we explicitly get * an auth feature with namespace http://jabber.org/features/iq-auth