mirror of
https://github.com/chatmail/core.git
synced 2026-04-23 00:16:34 +03:00
do not abort search completely when updating a special name fails
This commit is contained in:
committed by
Alexander Krotov
parent
ffa6378108
commit
d87b676d60
@@ -164,7 +164,9 @@ impl Chatlist {
|
||||
|
||||
// allow searching over special names that may change at any time
|
||||
// when the ui calls set_stock_translation()
|
||||
update_special_chat_names(context)?;
|
||||
if let Err(err) = update_special_chat_names(context) {
|
||||
warn!(context, "cannot update special chat names: {:?}", err)
|
||||
}
|
||||
|
||||
let str_like_cmd = format!("%{}%", query);
|
||||
context.sql.query_map(
|
||||
|
||||
Reference in New Issue
Block a user