refactor: set_chat_profile_image(): Remove !chat.is_mailing_list() check

This commit is contained in:
iequidoo
2025-10-12 01:41:31 -03:00
committed by iequidoo
parent 87035ff744
commit 4d76a5b599
+1 -1
View File
@@ -4362,7 +4362,7 @@ pub async fn set_chat_profile_image(
msg.text = stock_str::msg_grp_img_changed(context, ContactId::SELF).await; msg.text = stock_str::msg_grp_img_changed(context, ContactId::SELF).await;
} }
chat.update_param(context).await?; chat.update_param(context).await?;
if chat.is_promoted() && !chat.is_mailing_list() { if chat.is_promoted() {
msg.id = send_msg(context, chat_id, &mut msg).await?; msg.id = send_msg(context, chat_id, &mut msg).await?;
context.emit_msgs_changed(chat_id, msg.id); context.emit_msgs_changed(chat_id, msg.id);
} }