Re: handleMUCParticipantPresence bug in gloox 1.0alhpa2
From: Jakob Schröter <js@xxxxxxxxxx>
Date: Mon, 3 Mar 2008 20:12:45 +0100 (CET)
On Friday February 22 2008, lerosua wrote:
> hi.
>
> i found a bug in gloox 1.0alpha2.
> [...]
> <presence xmlns='jabber:client' to='cycloneblog@xxxxxxxxx/gloox76B978AF'
> from='linuxcn@xxxxxxxxxxxxxxxxxxxxx/lerosua'><priority>1</priority><status>
>当你想不通的时候,想一下自己是在中国,一切就豁然开朗了。</status><c
> xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='
> http://gaim.sf.net/caps' ver='2.0.0beta5'/></presence>
>
> so  " ( x = p->findChild( "x", XMLNS, XMLNS_MUC_USER ) ) != 0 ) " will
> nerver be true.

True, but that stanza doesn't look like a proper one sent from a MUC servcie, 
it lacks the <x xmlns='muc#user'> child.
So it's correct that gloox doesn't recognise it. Unfortunately, your change is 
not a good solution.

cheers,
Jakob

Attachment: signature.asc
Description: This is a digitally signed message part.