mirror of
https://github.com/chatmail/core.git
synced 2026-05-01 20:36:31 +03:00
fixed can_send() for users not in group
This commit is contained in:
@@ -2883,7 +2883,7 @@ mod tests {
|
||||
let chat = chat::Chat::load_from_db(&t.ctx, chat_id).await.unwrap();
|
||||
|
||||
assert!(chat.is_mailing_list());
|
||||
assert_eq!(chat.can_send(), false);
|
||||
assert_eq!(chat.can_send(&t.ctx).await, false);
|
||||
assert_eq!(chat.name, "deltachat/deltachat-core-rust");
|
||||
assert_eq!(
|
||||
chat::get_chat_contacts(&t.ctx, chat_id)
|
||||
|
||||
Reference in New Issue
Block a user