# HG changeset patch # User Elliott Sales de Andrade # Date 1299727125 0 # Node ID a01d958f7b26c2601da06b70250164ad2401575e # Parent 18ca4a90842f48c8958c84ac3be3915e15dfcaef# Parent f3d11c84cc03eed86f7a8ab749685551257eca7a merge of '27d803c1a7d7bd1907e87fba4a7937a44389dd80' and 'ad6f772bb86f527497f77c40386497f461bcf3a5' diff -r 18ca4a90842f -r a01d958f7b26 ChangeLog --- 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 diff -r 18ca4a90842f -r a01d958f7b26 libpurple/protocols/msn/msn.c --- 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("", tokens[1], diff -r 18ca4a90842f -r a01d958f7b26 libpurple/protocols/oscar/flap_connection.c --- 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 diff -r 18ca4a90842f -r a01d958f7b26 libpurple/protocols/oscar/oscar.c --- 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