add validation on blist_menu

Signed-off-by: xiehuc <xiehuc@gmail.com>
fix download chat log

Signed-off-by: xiehuc <xiehuc@gmail.com>
add chat download history log

Signed-off-by: xiehuc <xiehuc@gmail.com>
better online history write

Signed-off-by: xiehuc <xiehuc@gmail.com>
fix delete group mistaken

Signed-off-by: xiehuc <xiehuc@gmail.com>
fix logic error when group add or leave

Signed-off-by: xiehuc <xiehuc@gmail.com>
fix issue #194 enhanced lwqqconfirmtable

Signed-off-by: xiehuc <xiehuc@gmail.com>
rewrite friend add verify using new confirmtable

Signed-off-by: xiehuc <xiehuc@gmail.com>
update database flush sql

Signed-off-by: xiehuc <xiehuc@gmail.com>
fix clang compile warning

Signed-off-by: xiehuc <xiehuc@gmail.com>
fix a potential use_after_free