add qr-code-type for a webrtc-instance-pattern

introduce the qr-code-type `DCWEBRTC:[webrtc_instance]`.

dc_check_qr() returns this as the type DC_QR_WEBRTC
and these qr-codes can be passed to dc_set_config_from_qr() then;
this finally sets `webrtc_instance` using dc_set_config().
This commit is contained in:
B. Petersen
2020-07-29 19:56:13 +02:00
parent e5ff196e27
commit 1019a93991
3 changed files with 105 additions and 5 deletions

View File

@@ -91,6 +91,9 @@ pub enum LotState {
/// text1=domain
QrAccount = 250,
/// text1=domain, text2=instance pattern
QrWebrtcInstance = 260,
/// id=contact
QrAddr = 320,