mirror of
https://github.com/chatmail/core.git
synced 2026-05-01 20:36:31 +03:00
test that the device-chat is a one-to-one-chat
This commit is contained in:
committed by
holger krekel
parent
79cdcca2d2
commit
7b83979e10
@@ -2206,6 +2206,7 @@ mod tests {
|
||||
let chat = Chat::load_from_db(&t.ctx, chat_id);
|
||||
assert!(chat.is_ok());
|
||||
let chat = chat.unwrap();
|
||||
assert_eq!(chat.get_type(), Chattype::Single);
|
||||
assert!(chat.is_device_talk());
|
||||
assert!(!chat.is_self_talk());
|
||||
assert!(!chat.can_send());
|
||||
|
||||
Reference in New Issue
Block a user