From b522658be2c25026e064bb00f21e76dc8247cb68 Mon Sep 17 00:00:00 2001 From: Vysheng Date: Mon, 10 Nov 2014 14:02:14 +0300 Subject: [PATCH] write secret chat file more frequent --- interface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface.c b/interface.c index 23da5da..b54756f 100644 --- a/interface.c +++ b/interface.c @@ -1413,10 +1413,12 @@ void print_success_gw (struct tgl_state *TLSR, void *extra, int success) { } void print_msg_success_gw (struct tgl_state *TLS, void *extra, int success, struct tgl_message *M) { + write_secret_chat_file (); print_success_gw (TLS, extra, success); } void print_encr_chat_success_gw (struct tgl_state *TLS, void *extra, int success, struct tgl_secret_chat *E) { + write_secret_chat_file (); print_success_gw (TLS, extra, success); }