We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bc9dd6 commit 49a0b2dCopy full SHA for 49a0b2d
src/chat.rs
@@ -4707,8 +4707,8 @@ pub(crate) async fn update_msg_text_and_timestamp(
4707
async fn set_contacts_by_addrs(context: &Context, id: ChatId, addrs: &[String]) -> Result<()> {
4708
let chat = Chat::load_from_db(context, id).await?;
4709
ensure!(
4710
- chat.typ == Chattype::Group || chat.typ == Chattype::Broadcast,
4711
- "{id} is not a group/broadcast",
+ chat.typ == Chattype::Broadcast,
+ "{id} is not a broadcast list",
4712
);
4713
let mut contacts = HashSet::new();
4714
for addr in addrs {
0 commit comments