Ticket #3242 (closed defect: invalid)
Transport contacts doesn't show their status message until Gajim is restarted
| Reported by: | m_gol | Owned by: | asterix |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | chat | Version: | svn |
| Severity: | normal | Keywords: | |
| Cc: | OS: | All |
Description
I use Gadu-Gadu transport at jabbim.pl. When sb from gg, but outside my roster, writes to me and I add them to my roster (by right-click and "Add to roster" option), I cannot see their status message. Moreover, Gadu-Gadu transport icon of this contact looks like unauthorized (although it is - I cannot ask for an authorisation and can't also send it). Only after restarting Gajim icon changes to an appropriate one and I can see a status message.
Here is the code I got when: 1) I got a message: "so I write :)" 2) I sent a message: "ok, thx" 3) I added this person to my roster.
Red means the recieved code, blue - the sent code (as it's shown in Gajim XML console):
Red:
<message from='_GG_NUMBER_@gg.jabbim.pl/GG' to='_MY_ACCOUNT_@jabbim.pl' type='chat'> <body>so I write :)</body> </message>
Blue:
<message to="_GG_NUMBER_@gg.jabbim.pl" type="chat" id="45"> <body>ok, thx</body> <active xmlns="http://jabber.org/protocol/chatstates" /> <x xmlns="jabber:x:event"> <composing /> </x> </message> <iq type="set" id="46"> <query xmlns="jabber:iq:roster"> <item jid="_GG_NUMBER_@gg.jabbim.pl" name="_GG_USER_NAME_" /> </query> </iq>
Red:
<iq from='_MY_ACCOUNT_@jabbim.pl/Gajim' to='_MY_ACCOUNT_@jabbim.pl/Gajim' id='push' type='set'> <query xmlns='jabber:iq:roster'> <item subscription='none' name='_GG_USER_NAME_' jid='_GG_NUMBER_@gg.jabbim.pl'/> </query> </iq> <iq from='_MY_ACCOUNT_@jabbim.pl/Gajim' to='_MY_ACCOUNT_@jabbim.pl/Gajim' id='46' type='result'/>
Blue:
<presence to="_GG_NUMBER_@gg.jabbim.pl" type="subscribe" id="47"> <nick xmlns="http://jabber.org/protocol/nick">_MY_ACCOUNT_</nick> <x xmlns="vcard-temp:x:update"> <photo>a047be2f3a20215e69c5c5ccf540dc06130eb6eb</photo> </x> <c xmlns="http://jabber.org/protocol/caps" node="http://gajim.org/caps" ext="ftrans xhtml" ver="0.11.1" /> </presence>
Red:
<iq from='_MY_ACCOUNT_@jabbim.pl/Gajim' to='_MY_ACCOUNT_@jabbim.pl/Gajim' id='push' type='set'> <query xmlns='jabber:iq:roster'> <item ask='subscribe' subscription='none' name='_GG_USER_NAME_' jid='_GG_NUMBER_@gg.jabbim.pl'/> </query> </iq> <iq from='_MY_ACCOUNT_@jabbim.pl/Gajim' to='_MY_ACCOUNT_@jabbim.pl/Gajim' id='push' type='set'> <query xmlns='jabber:iq:roster'> <item subscription='to' name='_GG_USER_NAME_' jid='_GG_NUMBER_@gg.jabbim.pl'/> </query> </iq> <presence from='_GG_NUMBER_@gg.jabbim.pl' to='_MY_ACCOUNT_@jabbim.pl/Gajim' type='subscribed'/> <iq from='_MY_ACCOUNT_@jabbim.pl/Gajim' to='_MY_ACCOUNT_@jabbim.pl/Gajim' id='push' type='set'> <query xmlns='jabber:iq:roster'> <item subscription='to' name='_GG_USER_NAME_' jid='_GG_NUMBER_@gg.jabbim.pl'/> </query> </iq> <presence from='_GG_NUMBER_@gg.jabbim.pl' to='_MY_ACCOUNT_@jabbim.pl/Gajim' type='subscribe'/>
Blue:
<presence to="_GG_NUMBER_@gg.jabbim.pl" type="subscribe" id="48" /> <presence to="_GG_NUMBER_@gg.jabbim.pl" type="subscribed" id="49"> <x xmlns="vcard-temp:x:update"> <photo>a047be2f3a20215e69c5c5ccf540dc06130eb6eb</photo> </x> <c xmlns="http://jabber.org/protocol/caps" node="http://gajim.org/caps" ext="ftrans xhtml" ver="0.11.1" /> </presence>
Red:
<iq from='_MY_ACCOUNT_@jabbim.pl/Gajim' to='_MY_ACCOUNT_@jabbim.pl/Gajim' id='push' type='set'> <query xmlns='jabber:iq:roster'> <item subscription='both' name='_GG_USER_NAME_' jid='_GG_NUMBER_@gg.jabbim.pl'/> </query> </iq>
