mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 13:36:30 +03:00
fix: do not return an error from receive_imf if we fail to add a member because we are not in chat
This happens when we receive a vg-request-with-auth message for a chat from which we have been removed already.
This commit is contained in:
@@ -3742,7 +3742,11 @@ pub(crate) async fn add_contact_to_chat_ex(
|
||||
context.emit_event(EventType::ErrorSelfNotInGroup(
|
||||
"Cannot add contact to group; self not in group.".into(),
|
||||
));
|
||||
bail!("can not add contact because the account is not part of the group/broadcast");
|
||||
warn!(
|
||||
context,
|
||||
"Can not add contact because the account is not part of the group/broadcast."
|
||||
);
|
||||
return Ok(false);
|
||||
}
|
||||
|
||||
let sync_qr_code_tokens;
|
||||
|
||||
Reference in New Issue
Block a user