Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vCard problem in MUC Rooms #21

Open
Neustradamus opened this issue Jan 13, 2024 · 0 comments
Open

vCard problem in MUC Rooms #21

Neustradamus opened this issue Jan 13, 2024 · 0 comments

Comments

@Neustradamus
Copy link

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:

  • Using: Multi User Chat 2.2.0-b142/5761d16e / Linux-amd64-4.14.214-160.339.amzn2.x86_64, OpenJDK 64-Bit Server VM-17.0.6 Eclipse Adoptium

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant