mirror of
https://github.com/ars3niy/tdlib-purple
synced 2025-08-31 05:55:08 +00:00
Added a real test case with login sequence
This commit is contained in:
@@ -275,8 +275,9 @@ void PurpleTdClient::setPurpleConnectionInProgress()
|
||||
purple_debug_misc(config::pluginId, "Connection in progress\n");
|
||||
PurpleConnection *gc = purple_account_get_connection(m_account);
|
||||
|
||||
if (PURPLE_CONNECTION_IS_CONNECTED(gc))
|
||||
purple_blist_remove_account(m_account);
|
||||
purple_connection_set_state (gc, PURPLE_CONNECTING);
|
||||
purple_blist_remove_account(m_account);
|
||||
purple_connection_update_progress(gc, "Connecting", 1, 3);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user