From 785973c624bfe8a18dd68e8252bc0f2b89fab67d Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Tue, 24 Mar 2020 16:31:36 +0100 Subject: [PATCH] allow ad-hoc-group creation if there is an accepted chat with the contact --- src/dc_receive_imf.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/dc_receive_imf.rs b/src/dc_receive_imf.rs index 7e55acbb4..6d7ffa78b 100644 --- a/src/dc_receive_imf.rs +++ b/src/dc_receive_imf.rs @@ -389,7 +389,11 @@ fn add_parts( let (new_chat_id, new_chat_id_blocked) = create_or_lookup_group( context, &mut mime_parser, - allow_creation, + if test_normal_chat_id.is_unset() { + allow_creation + } else { + true + }, create_blocked, from_id, to_ids,