mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 11:26:29 +03:00
fixup
This commit is contained in:
@@ -1904,7 +1904,7 @@ async fn apply_mailinglist_changes(
|
|||||||
let (contact_id, _) =
|
let (contact_id, _) =
|
||||||
Contact::add_or_lookup(context, "", list_post, Origin::Hidden).await?;
|
Contact::add_or_lookup(context, "", list_post, Origin::Hidden).await?;
|
||||||
let mut contact = Contact::load_from_db(context, contact_id).await?;
|
let mut contact = Contact::load_from_db(context, contact_id).await?;
|
||||||
if contact.param.get(Param::ListId) != Some(listid) {
|
if contact.param.get(Param::ListId) != Some(listid.as_str()) {
|
||||||
contact.param.set(Param::ListId, listid);
|
contact.param.set(Param::ListId, listid);
|
||||||
contact.update_param(context).await?;
|
contact.update_param(context).await?;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user