Software /
code /
prosody
Comparison
spec/scansion/vcard_temp.scs @ 9524:1f6f3b941eb1
tests: Add some comments to xep54 test
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 20 Oct 2018 17:31:17 +0200 |
parent | 9523:e9122479e5d8 |
child | 12967:53b0730093d8 |
comparison
equal
deleted
inserted
replaced
9523:e9122479e5d8 | 9524:1f6f3b941eb1 |
---|---|
11 | 11 |
12 ----- | 12 ----- |
13 | 13 |
14 Romeo connects | 14 Romeo connects |
15 | 15 |
16 # Romeo sets his vCard | |
17 # FN and N are required by the schema and mod_vcard_legacy will always inject them | |
16 Romeo sends: | 18 Romeo sends: |
17 <iq id="lx3" type="set"> | 19 <iq id="lx3" type="set"> |
18 <vCard xmlns="vcard-temp"> | 20 <vCard xmlns="vcard-temp"> |
19 <FN>Romeo Montague</FN> | 21 <FN>Romeo Montague</FN> |
20 <N> | 22 <N> |
56 Juliet sends: | 58 Juliet sends: |
57 <iq type="get" id="lx3" to="romeo@localhost"> | 59 <iq type="get" id="lx3" to="romeo@localhost"> |
58 <vCard xmlns="vcard-temp"/> | 60 <vCard xmlns="vcard-temp"/> |
59 </iq> | 61 </iq> |
60 | 62 |
63 # Juliet can see Romeo's vCard since it's public | |
61 Juliet receives: | 64 Juliet receives: |
62 <iq type="result" from="romeo@localhost" id="lx3" to="${Juliet's full JID}"> | 65 <iq type="result" from="romeo@localhost" id="lx3" to="${Juliet's full JID}"> |
63 <vCard xmlns="vcard-temp"> | 66 <vCard xmlns="vcard-temp"> |
64 <FN>Romeo Montague</FN> | 67 <FN>Romeo Montague</FN> |
65 <N> | 68 <N> |