tigase / tigase-muc

Tigase Multi-User Chat Component
https://tigase.net
GNU Affero General Public License v3.0
5 stars 7 forks source link

vCard problem in MUC Rooms #21

Open Neustradamus opened 8 months ago

Neustradamus commented 8 months ago

Dear @tigase team, @woj-tek, @hantu85, @arturhefczyc,

This ticket in good place ^^

Linked to:

A this time, I have always the same base (but little change) instead of the XMPP client name/version/OS with or without time:


XEP-0045: Multi-User Chat

jabber:iq:version XEP-0092: Software Version

urn:xmpp:time XEP-0202: Entity Time

vcard-temp:x:update XEP-0153: vCard-Based Avatars

xml:lang XEP-0026: Internationalization (I18N)

XEP-0071: XHTML-IM

RFCs:


You can see the problem:

Tigase MUC Room:

<iq id="XXXXX-XXXX-XXXX" type="get" to="mucroom@muc.domain.tld/user">
<query xmlns="jabber:iq:version"/>
</iq>

<iq id="YYYYY-YYYY-YYYY" type="get" to="mucroom@muc.domain.tld/user">
<time xmlns="urn:xmpp:time"/>
</iq>

<iq id="ZZZZZ-ZZZZ-ZZZZ" type="get" to="mucroom@muc.domain.tld/user">
<vCard xmlns="vcard-temp"/>
</iq>

<iq from="mucroom@muc.domain.tld/user" xml:lang="en" id="XXXXX-XXXX-XXXX" type="result" to="me@domain.tld/xmppclient">
<query xmlns="jabber:iq:version">
<name>Multi User Chat</name>
<version>2.2.0-b142/5761d16e</version>
<os>Linux-amd64-4.14.214-160.339.amzn2.x86_64, OpenJDK 64-Bit Server VM-17.0.6 Eclipse Adoptium</os>
</query>
</iq>

<iq from="mucroom@muc.domain.tld/user" xml:lang="en" id="ZZZZZ-ZZZZ-ZZZZ" type="result" to="me@domain.tld/xmppclient">
<vCard xmlns="vcard-temp">
<PHOTO>
<BINVAL>BINVAL</BINVAL>
<TYPE>image/jpeg</TYPE>
</PHOTO>
</vCard>
</iq>

<iq from="mucroom@muc.domain.tld/user" xml:lang="en" id="XXXXX-XXXX-XXXX" type="result" to="me@domain.tld/xmppclient">
<query xmlns="jabber:iq:version">
<name>CLIENTNAME</name>
<version>VERSION</version>
<os>OS</os>
</query>
</iq>

<iq from="mucroom@muc.domain.tld/user" xml:lang="en" id="YYYYY-YYYY-YYYY" type="result" to="me@domain.tld/xmppclient">
<time xmlns="urn:xmpp:time">
<utc>YYYY-MM-DDT00:00:00.000Z</utc>
<tzo>+00:00</tzo>
</time>
</iq>

Another XMPP Server:

<iq id="XXXXX-XXXX-XXXX" type="get" to="mucroom@muc.domain.tld/user">
<query xmlns="jabber:iq:version"/>
</iq>

<iq id="YYYYY-YYYY-YYYY" type="get" to="mucroom@muc.domain.tld/user">
<time xmlns="urn:xmpp:time"/>
</iq>

<iq id="ZZZZZ-ZZZZ-ZZZZ" type="get" to="mucroom@muc.domain.tld/user">
<vCard xmlns="vcard-temp"/>
</iq>

<iq from="psi-dev@conference.jabber.ru/reload" xml:lang="en" id="ZZZZZ-ZZZZ-ZZZZ" type="result" to="me@domain.tld/xmppclient">
<vCard xmlns="vcard-temp">
<PHOTO>
<BINVAL>BINVAL</BINVAL>
<TYPE>image/jpeg</TYPE>
</PHOTO>
</vCard>
</iq>

<iq from="mucroom@muc.domain.tld/user" xml:lang="en" id="XXXXX-XXXX-XXXX" type="result" to="me@domain.tld/xmppclient">
<query xmlns="jabber:iq:version">
<name>CLIENTNAME</name>
<version>VERSION</version>
<os>OS</os>
</query>
</iq>

<iq from="mucroom@muc.domain.tld/user" xml:lang="en" id="YYYYY-YYYY-YYYY" type="result" to="me@domain.tld/xmppclient">
<time xmlns="urn:xmpp:time">
<tzo>+00:00</tzo>
<utc>YYYY-MM-DDT00:00:00Z</utc>
</time>
</iq>

Can you solve it?

Thanks in advance.