pidgin/ljfisher-ssl-client-auth

merge of '0f2e41d2f12a43b403f10bbc19947bf9d3f96aa7'

2011-03-10, Elliott Sales de Andrade
f21a17e42d4c
merge of '0f2e41d2f12a43b403f10bbc19947bf9d3f96aa7'
and '5569ce742c8ef7e2a8ede9ce036ef07f74647c9d'
--- a/ChangeLog Wed Mar 09 14:01:56 2011 +0000
+++ b/ChangeLog Thu Mar 10 03:18:45 2011 +0000
@@ -18,6 +18,8 @@
AIM:
* Fix a bug where some buddies from your buddy list might not show up.
Affected non-English ICQ users the most. (#13386)
+ * Send keepalives for all types of network connections. Will hopefully
+ make chat rooms more reliable. (#1449)
MSN:
* Fix bug that prevented added buddies to your buddy list in certain
--- a/libpurple/protocols/msn/msn.c Wed Mar 09 14:01:56 2011 +0000
+++ b/libpurple/protocols/msn/msn.c Thu Mar 10 03:18:45 2011 +0000
@@ -1830,6 +1830,7 @@
msn_user_set_invite_message(user, msg);
msn_user_set_pending_group(user, gname);
msn_user_set_network(user, MSN_NETWORK_UNKNOWN);
+ /* Should probably re-use the msn_add_contact_xml function here */
tokens = g_strsplit(who, "@", 2);
fqy = g_strdup_printf("<ml><d n=\"%s\"><c n=\"%s\"/></d></ml>",
tokens[1],
--- a/libpurple/protocols/oscar/flap_connection.c Wed Mar 09 14:01:56 2011 +0000
+++ b/libpurple/protocols/oscar/flap_connection.c Thu Mar 10 03:18:45 2011 +0000
@@ -208,7 +208,7 @@
* @param data The optional bytestream that makes up the data portion
* of this SNAC. For empty SNACs this should be NULL.
* @param high_priority If TRUE, the SNAC will be queued normally if
- * needed. If FALSE, it wil be queued separately, to be sent
+ * needed. If FALSE, it will be queued separately, to be sent
* only if all high priority SNACs have been sent.
*/
void
--- a/libpurple/protocols/oscar/oscar.c Wed Mar 09 14:01:56 2011 +0000
+++ b/libpurple/protocols/oscar/oscar.c Thu Mar 10 03:18:45 2011 +0000
@@ -3140,12 +3140,12 @@
oscar_keepalive(PurpleConnection *gc)
{
OscarData *od;
- FlapConnection *conn;
+ GSList *l;
od = purple_connection_get_protocol_data(gc);
- conn = flap_connection_getbytype(od, SNAC_FAMILY_LOCATE);
- if (conn != NULL)
- flap_connection_send_keepalive(od, conn);
+ for (l = od->oscar_connections; l; l = l->next) {
+ flap_connection_send_keepalive(od, l->data);
+ }
}
unsigned int