[Fix] Calling & Invites
This commit is contained in:
parent
7164f4671d
commit
9e9e3597da
8 changed files with 220 additions and 39 deletions
|
|
@ -418,10 +418,15 @@ impl UsersScreen {
|
|||
Ok(iota_ipc::ResponseResult::Ok(
|
||||
iota_ipc::ResponsePayload::InvitationCreated(invitation),
|
||||
)) => Ok(format!(
|
||||
"Invitation {} created. Token: {} Link: {}",
|
||||
"Invitation {} created. Token: {} Link: {}{}",
|
||||
invitation.invitation_id,
|
||||
invitation.raw_token.0,
|
||||
invitation.short_url.as_deref().unwrap_or("unavailable")
|
||||
invitation.short_url.as_deref().unwrap_or("unavailable"),
|
||||
if invitation.mirror_synced {
|
||||
""
|
||||
} else {
|
||||
" Local metadata is still synchronizing."
|
||||
}
|
||||
)),
|
||||
Ok(iota_ipc::ResponseResult::Error(error)) => {
|
||||
Err(format!("Create invitation failed: {error}"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue