soc.2009.transport: d2b64773: Disable account in User desctructor
hanzz at soc.pidgin.im
hanzz at soc.pidgin.im
Wed Jul 29 14:05:22 EDT 2009
-----------------------------------------------------------------
Revision: d2b64773677e9e16b07c4899e59dfbb3afba4d29
Ancestor: a0f79c5967e8ebd23e9d61e974199b41d310fc35
Author: hanzz at soc.pidgin.im
Date: 2009-07-29T18:01:14
Branch: im.pidgin.soc.2009.transport
URL: http://d.pidgin.im/viewmtn/revision/info/d2b64773677e9e16b07c4899e59dfbb3afba4d29
Modified files:
user.cpp
ChangeLog:
Disable account in User desctructor
-------------- next part --------------
============================================================
--- user.cpp dbbf89bf5a33dd7c9c817e04087fa5fa16b6dc28
+++ user.cpp 0acd479c34f57ddbbdb0df315100a699a168f106
@@ -910,7 +910,6 @@ void User::connect(){
if (valid && purple_value_get_boolean(getSetting("enable_transport"))){
purple_account_set_enabled(m_account, HIICQ_UI, TRUE);
purple_account_connect(m_account);
- purple_account_set_ui_bool(m_account,"hiicq","auto-login",false);
}
}
@@ -1250,6 +1249,8 @@ User::~User(){
User::~User(){
+ purple_account_set_enabled(m_account, HIICQ_UI, TRUE);
+
// send unavailable to online users
Tag *tag;
for(std::map<std::string, RosterRow>::iterator u = m_roster.begin(); u != m_roster.end() ; u++){
More information about the Commits
mailing list