# HG changeset patch # User Mark Doliner # Date 1146745083 0 # Node ID 65a39e4365679a27283d36fb9d6f455492034b6b # Parent 1983a8fc8e7248a102e5beb854ec40cdc91a8f72 [gaim-migrate @ 16133] Kevin, let me know if this does or doesn't help your problems with AIM/ICQ not realizing that it has been disconnected committer: Tailor Script diff -r 1983a8fc8e72 -r 65a39e436567 src/protocols/oscar/flap_connection.c --- a/src/protocols/oscar/flap_connection.c Thu May 04 00:33:33 2006 +0000 +++ b/src/protocols/oscar/flap_connection.c Thu May 04 12:18:03 2006 +0000 @@ -208,7 +208,13 @@ g_free(conn); account = gaim_connection_get_account(od->gc); - if ((od->oscar_connections == NULL) && (!account->disconnecting)) + + /* + * TODO: If we don't have a SNAC_FAMILY_LOCATE connection then + * we should try to request one instead of disconnecting. + */ + if (!account->disconnecting && ((od->oscar_connections == NULL) + || (!flap_connection_getbytype(od, SNAC_FAMILY_LOCATE)))) { /* No more FLAP connections! Sign off this GaimConnection! */ const gchar *tmp;