adium/adium

Parents 49a5b63485c5
Children 5d24093e52a5
Disconnect all instances when Adium is shutting down, not just the most recent one.
--- a/Source/AdiumOTREncryption.m Mon May 05 18:45:15 2014 +0200
+++ b/Source/AdiumOTREncryption.m Mon May 05 18:45:49 2014 +0200
@@ -1118,8 +1118,8 @@
void
disconnect_from_context(ConnContext *context)
{
- otrl_message_disconnect(otrg_plugin_userstate, &ui_ops, NULL,
- context->accountname, context->protocol, context->username, OTRL_INSTAG_RECENT);
+ otrl_message_disconnect_all_instances(otrg_plugin_userstate, &ui_ops, NULL,
+ context->accountname, context->protocol, context->username);
gone_insecure_cb(NULL, context);
}