[Juser] How to dedect Server Mood support?
Gabriel Soto
gabsoto at gmail.com
Mon Feb 4 06:57:16 CST 2008
On Feb 4, 2008 6:47 AM, Peter Flindt <newsgroups at lastwebpage.de> wrote:
> Hello,
> normally the client should detect this, and the client offer me a menu
> to select Moods or not. Unfortunately I fear there is a bug in my
> client (Miranda IM), because I guess the following behavior is not
> correct:
>
> 1)I login with jabbim.com this server not support Moods.
> 2)I join a MUC at jabbber.ccc.de this server support Moods.
> 3)Selection of Moods are now available.
>
> I have tried the following command in the XML console, but I am not
> sure about the output:
> <iq from='Lastwebpage at jabbim.com/Home'
> to='jabbim.com'
> id='disco1'
> type='get'>
> <query xmlns='http://jabber.org/protocol/disco#info'/>
> </iq>
> and
> <iq from='Lastwebpage at jabbim.com/Home'
> to='jabber.ccc.de'
> id='disco1'
> type='get'>
> <query xmlns='http://jabber.org/protocol/disco#info'/>
> </iq>
> Which response line show me if the Server support Moods?
>
> Peter
As far as I know, the server has to support PEP (Personal Eventing via
Pubsub, XEP-0163). You should receive a response similar to this:
<iq from='jabbim.com'
to='Lastwebpage at jabbim.com/Home'
id='disco1'
type='result'>
<query xmlns='http://jabber.org/protocol/disco#info'>
<identity category='server' type='im'/>
<identity category='pubsub' type='pep'/> <----- PEP support
...
</query>
</iq>
More information about the JUser
mailing list