fix: is_direct for locally invited users

next
Timo Kösters 2021-05-28 22:53:00 +02:00
parent 5b5cc0574e
commit deacdf6f58
No known key found for this signature in database
GPG Key ID: 24DA7517711A2BA4
1 changed files with 1 additions and 1 deletions

View File

@ -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"),