Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/buddy.c @ 29961:618c4165d4f8
jabber: Treat the version properly.
Granted, consensus among XMPP folks is that bumping the minor would break
almost everything, but that's no reason not to be accurate ourselves.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Tue, 09 Mar 2010 23:09:54 +0000 |
parents | fbefcfbb5377 |
children | 9f59abd49def |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.c Tue Mar 09 22:44:59 2010 +0000 +++ b/libpurple/protocols/jabber/buddy.c Tue Mar 09 23:09:54 2010 +0000 @@ -1824,7 +1824,8 @@ if(!jb) return m; - if (js->protocol_version == JABBER_PROTO_0_9 && jb != js->user_jb) { + if (js->protocol_version.major == 0 && js->protocol_version.minor == 9 && + jb != js->user_jb) { if(jb->invisible & JABBER_INVIS_BUDDY) { act = purple_menu_action_new(_("Un-hide From"), PURPLE_CALLBACK(jabber_buddy_make_visible),