From 3f9d9217828f124d00183081651fb2a222333aa2 Mon Sep 17 00:00:00 2001 From: Vysheng Date: Wed, 10 Sep 2014 21:54:41 +0400 Subject: [PATCH] Fixed fail when trying to send emssage before get_difference end --- loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loop.c b/loop.c index 4a503b9..be396c0 100644 --- a/loop.c +++ b/loop.c @@ -725,6 +725,7 @@ int loop (void) { set_interface_callbacks (); + tglm_send_all_unsent (); tgl_do_get_difference (sync_from_start, get_difference_callback, 0); net_loop (0, dgot); assert (!(tgl_state.locks & TGL_LOCK_DIFF)); @@ -736,7 +737,6 @@ int loop (void) { #ifdef USE_LUA lua_diff_end (); #endif - tglm_send_all_unsent (); /*tgl_do_get_dialog_list (get_dialogs_callback, 0);