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

This commit is contained in:
iequidoo
2025-06-23 18:01:47 -03:00
committed by iequidoo
parent 87035ff744
commit 4d76a5b599

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;
}
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?;
context.emit_msgs_changed(chat_id, msg.id);
}