Use released version of sendme^Wiroh

This switches to a released version.  It has been renamed from sendme
to iroh.
This commit is contained in:
Floris Bruynooghe
2023-02-22 16:05:24 +01:00
parent 1b39be8a42
commit fc64c33368
4 changed files with 47 additions and 45 deletions

View File

@@ -114,7 +114,7 @@ pub enum Qr {
/// information to connect to and authenticate a backup provider.
///
/// The format is somewhat opaque, but `sendme` can deserialise this.
ticket: sendme::provider::Ticket,
ticket: iroh::provider::Ticket,
},
/// Ask the user if they want to use the given service for video chats.
@@ -509,7 +509,7 @@ fn decode_backup(qr: &str) -> Result<Qr> {
let payload = qr
.strip_prefix(DCBACKUP_SCHEME)
.ok_or(anyhow!("invalid DCBACKUP scheme"))?;
let ticket: sendme::provider::Ticket = payload.parse().context("invalid DCBACKUP payload")?;
let ticket: iroh::provider::Ticket = payload.parse().context("invalid DCBACKUP payload")?;
Ok(Qr::Backup { ticket })
}