Hi, what is the state of the art do to multi-party A/V conference nowadays? I guess it's Jitsi Video Bridge + XEP-0340 (COLIBRI), right? MUJI seems nice only for a few participants, it doesn't scale. I think I've seen a post about a new solution on ActivityPub recently, but can't find it again. Anything else?
when i get a vCard like this https://xmpp.org/extensions/xep-0054.html what is the difference between a vCard element that isn't included at all, and a vCard element that is empty?
belgin
or rather, what should the client do in those 2 situations when receiving a vCard from the server
spiralhas left
spiralhas joined
lovetox
hm, is this theoretical?
belgin
what do you mean?
lovetox
the server should return a vcard element i think
lovetox
there is no difference, but i would be very suprised if the server answers without vcard child element of the IQ
belgin
yes, the server is returning a vCard, but some elements inside the vCard are missing
lovetox
ah with vcard element you mean vcard properties
lovetox
i thought you mean the vCard node
lovetox
there is no difference
belgin
oh yeah. sorry, i am not an xml expert 😀
lovetox
i would say
lovetox
you need to expect that every element is missing
xnamedhas left
lovetox
or empty
lovetox
im not aware that an empty element has another meaning then a missing one
xnamedhas joined
Yagizаhas left
Trunghas left
Trunghas joined
lovetox-has joined
Vaulorhas left
lovetox-has left
lovetox-has joined
lovetox-has left
lovetox-has joined
tskhas joined
spiralhas left
belgin
lovetox, a <PHOTO> element can be for example <PHOTO/> which means there is no photo in the vCard, or the vCard can contain absolutely no PHOTO child
belgin
i am asking what should the client do in these 2 situations
lovetox
show no photo
lovetox
because you dont have one ..
lovetox
what do you want to do?
lovetox
im not seeing the options here? if i think about it nothing other then showing no photo in the two cases comes to mind
techmetx11
what should the client do if there's multiple <PHOTO> elements?
Vaulorhas joined
lovetox
show multiple photos or choose one
belgin
https://xmpp.org/extensions/xep-0054.html#dtd
belgin
what does the question mark mean?
lovetox
i think it means the element can be missing or it can be there once
lovetox
but google XML DTD and see for yourself
belgin
lovetox, i appreciate your help, but i was hoping someone could point to a paragraph in a xep which can explain what should the client do in that situation
lovetox
im not getting what you expecting here
lovetox
what options are there?
lovetox
if you have 10 things which you could do, then i see how you want something that tells you which to do
lovetox
but you received a photo with no vcard photo data
lovetox
what other option do you have then showing NO photo to the user?✎
lovetox
what other option do you have than showing NO photo to the user? ✏
lovetox-has left
belgin
i see your point, but i don't see where in the xep it says that an empty element is equivalent to missing element in the vCard
xnamedhas left
lovetox
i think nobody thought it would be necessary
xnamedhas joined
antranigvhas joined
belgin
i am going to send an e-mail to Peter
belgin
the author to xep-0153
Wojtekhas joined
spiralhas joined
tskhas left
stuart.j.mackintoshhas left
belgin
techmetx11, upon further inspection of the DTD, a vCard can indeed have multiple PHOTO elements
belgin
i guess that question will be for the next e-mail 😀
EOFhas joined
norayrhas left
norayrhas joined
spiralhas left
norayrhas left
spiralhas joined
norayrhas joined
xnamedhas left
lovetox
again, what do you expect as an answer?
lovetox
XMPP is a transfer protocol
lovetox
It does not dictate how you present data to the user in a graphical user interface
lovetox
you receive 10 photos, no XEP will tell you what to do
xnamedhas joined
jgarthas left
jubalhhas joined
Wojtekhas left
nicocohas left
nicocohas joined
belgin
i don't know. i'll see what Peter says
Mx2has left
MSavoritias (fae,ve)has left
oshnhas left
oshnhas joined
belgin
i guess in the case of multiple photo elements, the xep says you can see which "resource" has which photo by sha1 (a jid can have multiple "resources")
jubalhhas left
jgarthas joined
belgin
i hope a jid can't have multiple vCards 😀
belginhas left
Kevhas left
nicocohas left
Kevhas joined
Kevhas left
stefanhas left
stefanhas joined
Mario Sabatinohas left
spiralhas left
Millesimushas left
spiralhas joined
Trunghas left
Millesimushas joined
goffihas left
atomicwatchhas left
deimoshas left
miruxhas left
wurstsalathas left
marc0shas left
marc0shas joined
atomicwatchhas joined
lovetox
i think you are going down a rabbit hole
lovetox
the vCard spec is endless
lovetox
you should ask what other clients support, not what theoretically the vCard spec allows
lovetox
and you will not find a client who will display more than one photo
lovetox
you will not find a client who publishes more than one photo