soc.2009.transport: 7a543599: Don't connect if transport is not enable...
hanzz at soc.pidgin.im
hanzz at soc.pidgin.im
Mon Jun 15 02:15:50 EDT 2009
-----------------------------------------------------------------
Revision: 7a5435990412da3a4bdcc872e3d7c33d0c302fd9
Ancestor: 95bd8d3bf9458122749749f03e12b43b03c3c46f
Author: hanzz at soc.pidgin.im
Date: 2009-06-15T06:10:35
Branch: im.pidgin.soc.2009.transport
URL: http://d.pidgin.im/viewmtn/revision/info/7a5435990412da3a4bdcc872e3d7c33d0c302fd9
Modified files:
user.cpp
ChangeLog:
Don't connect if transport is not enabled
-------------- next part --------------
============================================================
--- user.cpp 42d98746f8b1d19fb31a3d9283f6de8cc1bdeec8
+++ user.cpp 30cb6314ed61b45aba5d4ae272caf8fa2914bcea
@@ -786,7 +786,7 @@ void User::connect(){
if (!m_username.empty()){
valid = p->protocol()->isValidUsername(m_username);
}
- if (valid){
+ if (valid && purple_value_get_boolean(getSetting("enable_transport"))){
purple_account_set_enabled(m_account, HIICQ_UI, TRUE);
purple_account_connect(m_account);
}
More information about the Commits
mailing list