Commit b522658b authored by Vysheng's avatar Vysheng

write secret chat file more frequent

parent f25aa360
...@@ -1413,10 +1413,12 @@ void print_success_gw (struct tgl_state *TLSR, void *extra, int success) { ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment