mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 11:26:29 +03:00
Chatlist::try_load: make hide_device_expired_messages errors non-fatal
This commit is contained in:
@@ -94,7 +94,9 @@ impl Chatlist {
|
|||||||
) -> Result<Self> {
|
) -> Result<Self> {
|
||||||
// Note that we do not emit DC_EVENT_MSGS_MODIFIED here even if some
|
// Note that we do not emit DC_EVENT_MSGS_MODIFIED here even if some
|
||||||
// messages get hidden to avoid reloading the same chatlist.
|
// messages get hidden to avoid reloading the same chatlist.
|
||||||
hide_device_expired_messages(context)?;
|
if let Err(err) = hide_device_expired_messages(context) {
|
||||||
|
warn!(context, "Failed to hide expired messages: {}", err);
|
||||||
|
}
|
||||||
|
|
||||||
let mut add_archived_link_item = false;
|
let mut add_archived_link_item = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user