mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 03:16:29 +03:00
fix: Use the correct chat description stock string again (#7939)
Fix https://github.com/chatmail/core/issues/7933 Apparently I was inattentive when reviewing https://github.com/chatmail/core/pull/7870/; there even was a test that tested that the incorrect description is used XD Thanks for noticing @r10s!
This commit is contained in:
@@ -4263,9 +4263,7 @@ async fn set_chat_description_ex(
|
||||
|
||||
if chat.is_promoted() {
|
||||
let mut msg = Message::new(Viewtype::Text);
|
||||
msg.text =
|
||||
"[Chat description changed. To see this and other new features, please update the app]"
|
||||
.to_string();
|
||||
msg.text = stock_str::msg_chat_description_changed(context, ContactId::SELF).await;
|
||||
msg.param.set_cmd(SystemMessage::GroupDescriptionChanged);
|
||||
|
||||
msg.id = send_msg(context, chat_id, &mut msg).await?;
|
||||
|
||||
Reference in New Issue
Block a user