mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 06:56:29 +03:00
@@ -714,7 +714,9 @@ impl TestContext {
|
||||
})
|
||||
.collect();
|
||||
|
||||
let sel_chat = Chat::load_from_db(self, chat_id).await.unwrap();
|
||||
let Ok(sel_chat) = Chat::load_from_db(self, chat_id).await else {
|
||||
return String::from("Can't load chat\n");
|
||||
};
|
||||
let members = chat::get_chat_contacts(self, sel_chat.id).await.unwrap();
|
||||
let subtitle = if sel_chat.is_device_talk() {
|
||||
"device-talk".to_string()
|
||||
|
||||
Reference in New Issue
Block a user