Merge pull request #658 from deltachat/fix-contact-requests

move contact-requests to the beginning of chatlists
This commit is contained in:
björn petersen
2019-10-01 13:29:44 +02:00
committed by GitHub

View File

@@ -182,7 +182,7 @@ impl Chatlist {
if 0 == listflags & DC_GCL_NO_SPECIALS {
let last_deaddrop_fresh_msg_id = get_last_deaddrop_fresh_msg(context);
if last_deaddrop_fresh_msg_id > 0 {
ids.push((1, last_deaddrop_fresh_msg_id));
ids.insert(0, (DC_CHAT_ID_DEADDROP, last_deaddrop_fresh_msg_id));
}
add_archived_link_item = 1;
}