2
0
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:
Arseniy Lartsev
2020-05-06 20:19:26 +02:00
parent 37a03df751
commit df08fa12f9
10 changed files with 1413 additions and 22 deletions

View File

@@ -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);
}