mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 19:06:35 +03:00
refactor(chat): first round of method renaming and restructuring
This commit is contained in:
@@ -265,7 +265,7 @@ impl<'a> Chatlist<'a> {
|
||||
let chat = if let Some(chat) = chat {
|
||||
chat
|
||||
} else {
|
||||
if let Ok(chat) = dc_get_chat(self.context, self.ids[index].0) {
|
||||
if let Ok(chat) = Chat::load_from_db(self.context, self.ids[index].0) {
|
||||
chat_loaded = chat;
|
||||
&chat_loaded
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user