mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 21:36:29 +03:00
Use DC_CHAT_ID_DEADDROP instead of constant "1"
This commit is contained in:
@@ -1481,7 +1481,7 @@ pub fn get_chat_contacts(context: &Context, chat_id: u32) -> Vec<u32> {
|
||||
/* Normal chats do not include SELF. Group chats do (as it may happen that one is deleted from a
|
||||
groupchat but the chats stays visible, moreover, this makes displaying lists easier) */
|
||||
|
||||
if chat_id == 1 {
|
||||
if chat_id == DC_CHAT_ID_DEADDROP {
|
||||
return Vec::new();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user