Ticket #190 (closed defect: fixed)
Server handles IQ with full JID in 'to' attribute.
| Reported by: | skyrat | Owned by: | smoku |
|---|---|---|---|
| Priority: | major | Component: | General |
| Version: | 2.1.23 | Keywords: | |
| Cc: | skyrat@… | Tracforge_linkmap: | |
| Blocking: | Blocked By: |
Description
This happens for example when using group chat (conference). I cannot obtain the information about myself.
I use Gajim 0.11.4 - the latest.
Got deeply into this and found that:
* the error comes when <iq to> equals <iq from> (which means that I am retrieving info about "myself" of course)
WORKING:
* the message sent by client is:
<iq to="rat@…/workXXXXX" type="get" id="890">
<vCard xmlns="vcard-temp" />
</iq>
* the message received from the server is:
<iq xmlns='jabber:client' id='890' from='rat@…/workXXXXX' to='skyrat@…/work' type='result'>
NON WORKING:
* the message sent by client is:
<iq to="rat@…/work" type="get" id="890">
<vCard xmlns="vcard-temp" />
</iq>
* the message received from the server is:
<iq xmlns='jabber:client' from='rat@…/work' id='890' type='error' to='rat@…/work'>
<error type='cancel' code='501'>
<feature-not-implemented xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
Gajim is using just JID without resource for obtaining info about myself in account settings. So this WORKS because:
<iq from=rat@…> but
<iq to=rat@…/work>
In the group chat Gajim sends the string which matches and server returns error.