diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-05-17 21:14:29 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-05-17 21:14:29 +0200 |
commit | d51f3fab943c31ae653d30dcdd0908b60164956c (patch) | |
tree | a6a50aaacd6b6124a9595b491621ffdb4af72774 /.gitignore | |
parent | e946eb76c7eb51cb27903dc725415eec26036e18 (diff) |
Extend QR scanner to support VCard with IMPP field
Currently QR scanner supports only URIs. VCard specification allows
embedding instant messaging protocols in the `IMPP` field [0].
This change will extract the first XMPP URI from `IMPP` field if a VCard
has been scanned and process it just like if the XMPP URI was scanned
directly. In case the contact is not already present in the roster this
will pop up "Add contact" window.
Example VCard with this URI:
BEGIN:VCARD
FN:Test Contact
EMAIL:test@example.com
IMPP:xmpp:test@example.com
END:VCARD
[0]: https://tools.ietf.org/html/rfc6350#section-6.4.3
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions