write secret chat file more frequent

This commit is contained in:
Vysheng 2014-11-10 14:02:14 +03:00
parent f25aa36076
commit b522658be2

View File

@ -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) { 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); 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) { 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); print_success_gw (TLS, extra, success);
} }