Fix support for old glib versions

This commit is contained in:
mjentsch 2015-09-08 22:28:24 +02:00
parent d9ca1c0f51
commit 0c06c63dc8

View file

@ -659,7 +659,7 @@ void tgp_msg_recv (struct tgl_state *TLS, struct tgl_message *M) {
++ C->pending;
tgl_do_get_chat_info (TLS, M->to_id, FALSE, tgp_msg_on_loaded_chat_full, C);
g_hash_table_add (conn->pending_chat_info, to_ptr);
g_hash_table_replace (conn->pending_chat_info, to_ptr, to_ptr);
}
}
}