# HG changeset patch # User dreiss@facebook.com # Date 1270274824 0 # Node ID 674d1b0272a7c9053897ba83575541ecf139db0c # Parent 51f997e2347fd1a646f2c27b40ef8b8dd7fefd0f jabber: Eliminate spurious warning when connecting to Facebook. Fixes #11320 committer: Paul Aurich diff -r 51f997e2347f -r 674d1b0272a7 ChangeLog --- a/ChangeLog Sat Apr 03 05:09:28 2010 +0000 +++ b/ChangeLog Sat Apr 03 06:07:04 2010 +0000 @@ -73,6 +73,8 @@ * Validate the hash on incoming BoB data objects (for custom smileys etc.), cache based per JID when the CID is not a valid hash (as specified by the BoB XEP). + * Present a better error message when authentication fails while trying + to connect to Facebook. (David Reiss, Facebook) Yahoo/Yahoo JAPAN: * Attempt to better handle transparent proxies interfering with HTTP-based diff -r 51f997e2347f -r 674d1b0272a7 libpurple/protocols/jabber/auth_cyrus.c --- a/libpurple/protocols/jabber/auth_cyrus.c Sat Apr 03 05:09:28 2010 +0000 +++ b/libpurple/protocols/jabber/auth_cyrus.c Sat Apr 03 06:07:04 2010 +0000 @@ -404,11 +404,13 @@ continue; } - /* Don't include Google Talk's X-GOOGLE-TOKEN mechanism, as we will not - * support it and including it gives a false fall-back to other mechs offerred, - * leading to incorrect error handling. + /* Don't include Google Talk's X-GOOGLE-TOKEN mechanism + * or Facebook Chat's X-FACEBOOK-PLATFORM mechansim, + * as we will not support them and including them gives a false fall-back + * to other mechs offerred, leading to incorrect error handling. */ - if (g_str_equal(mech_name, "X-GOOGLE-TOKEN")) { + if (g_str_equal(mech_name, "X-GOOGLE-TOKEN") + || g_str_equal(mech_name, "X-FACEBOOK-PLATFORM") ) { g_free(mech_name); continue; }