mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
docs: custom paths and tokens in DCACCOUNT ar codes are not supported
anymore
This commit is contained in:
@@ -655,7 +655,6 @@ async fn decode_ideltachat(context: &Context, prefix: &str, qr: &str) -> Result<
|
|||||||
|
|
||||||
/// scheme: `DCACCOUNT:example.org`
|
/// scheme: `DCACCOUNT:example.org`
|
||||||
/// or `DCACCOUNT:https://example.org/new`
|
/// or `DCACCOUNT:https://example.org/new`
|
||||||
/// or `DCACCOUNT:https://example.org/new_email?t=1w_7wDjgjelxeX884x96v3`
|
|
||||||
fn decode_account(qr: &str) -> Result<Qr> {
|
fn decode_account(qr: &str) -> Result<Qr> {
|
||||||
let payload = qr
|
let payload = qr
|
||||||
.get(DCACCOUNT_SCHEME.len()..)
|
.get(DCACCOUNT_SCHEME.len()..)
|
||||||
|
|||||||
Reference in New Issue
Block a user