From deacdf6f58458167454359f60fb3d9cc04cfbe8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20K=C3=B6sters?= Date: Fri, 28 May 2021 22:53:00 +0200 Subject: [PATCH] fix: is_direct for locally invited users --- src/client_server/membership.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client_server/membership.rs b/src/client_server/membership.rs index 206ea9d6..96fe8001 100644 --- a/src/client_server/membership.rs +++ b/src/client_server/membership.rs @@ -945,7 +945,7 @@ pub async fn invite_helper( membership: member::MembershipState::Invite, displayname: db.users.displayname(&user_id)?, avatar_url: db.users.avatar_url(&user_id)?, - is_direct: None, + is_direct: Some(is_direct), third_party_invite: None, }) .expect("event is valid, we just created it"),