Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/presence.c @ 28410:faf98a4b27d8
jabber: Fix typing notifications between 2.6.0 and <= 2.5.9.
If the Pidgin 2.6.0 user initiates a conversation, there will be no typing
notifications, as Pidgin <2.6.0 *has* entity capabilities but does not
advertise the Chat States feature (...ugh...).
Closes #9996. This also fixes Adium#12643.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sat, 22 Aug 2009 18:29:44 +0000 |
parents | c585572e80dd |
children | d9eb51a3a3a2 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c Sat Aug 22 06:20:10 2009 +0000 +++ b/libpurple/protocols/jabber/presence.c Sat Aug 22 18:29:44 2009 +0000 @@ -471,10 +471,17 @@ jbr->commands_fetched = TRUE; } +#if 0 + /* + * Versions of libpurple before 2.6.0 didn't advertise this capability, so + * we can't yet use Entity Capabilities to determine whether or not the + * other client supports Entity Capabilities. + */ if (jabber_resource_has_capability(jbr, "http://jabber.org/protocol/chatstates")) jbr->chat_states = JABBER_CHAT_STATES_SUPPORTED; else jbr->chat_states = JABBER_CHAT_STATES_UNSUPPORTED; +#endif out: g_free(userdata->from);