mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-11-19 22:41:59 +01:00
fix: is_direct for locally invited users
This commit is contained in:
parent
5b5cc0574e
commit
deacdf6f58
1 changed files with 1 additions and 1 deletions
|
@ -945,7 +945,7 @@ pub async fn invite_helper(
|
||||||
membership: member::MembershipState::Invite,
|
membership: member::MembershipState::Invite,
|
||||||
displayname: db.users.displayname(&user_id)?,
|
displayname: db.users.displayname(&user_id)?,
|
||||||
avatar_url: db.users.avatar_url(&user_id)?,
|
avatar_url: db.users.avatar_url(&user_id)?,
|
||||||
is_direct: None,
|
is_direct: Some(is_direct),
|
||||||
third_party_invite: None,
|
third_party_invite: None,
|
||||||
})
|
})
|
||||||
.expect("event is valid, we just created it"),
|
.expect("event is valid, we just created it"),
|
||||||
|
|
Loading…
Reference in a new issue