diff options
author | V V <vvaltman@aurum> | 2015-10-02 12:45:56 +0300 |
---|---|---|
committer | V V <vvaltman@aurum> | 2015-10-02 12:45:56 +0300 |
commit | 1de79e9a6c44a4dc45a59c917513827c4b1715df (patch) | |
tree | 4ce7ed9dac616be43a34eacd152971f54c59a1e0 /updates.c | |
parent | 1946822be5297c1462542e86238ee61de89d85e8 (diff) |
fixed work with updates
Diffstat (limited to 'updates.c')
-rw-r--r-- | updates.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -655,11 +655,12 @@ void tglu_work_update_short_chat_message (struct tgl_state *TLS, int check_only, //int new = (!N || !(N->flags & TGLMF_CREATED)); struct tgl_message *M = tglf_fetch_alloc_message_short_chat (TLS, DS_U); - assert (M); if (check_only > 0 || (TLS->locks & TGL_LOCK_DIFF)) { return; } + + assert (M); if (1) { bl_do_msg_update (TLS, &M->permanent_id); |