Start polling in test client upon a successful login
This was removed unintentionally two commits ago. Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
This commit is contained in:
parent
6ab67b44be
commit
1d16628861
@ -77,6 +77,7 @@ login_finished(MatrixClient *client, gboolean success, GMainLoop *loop)
|
|||||||
|
|
||||||
if (success) {
|
if (success) {
|
||||||
save_state(client);
|
save_state(client);
|
||||||
|
matrix_client_begin_polling(client, NULL);
|
||||||
} else {
|
} else {
|
||||||
g_main_loop_quit(loop);
|
g_main_loop_quit(loop);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user