Re: handleMUCParticipantPresence bug in gloox 1.0alhpa2
From: "Daniel Starin" <ds708@xxxxxxxxxxxx>
Date: Mon, 02 Jun 2008 18:58:51 +0200
A fix to this issue for gloox1.0beta2 which works for me is adding:

m_parent->registerStanzaExtension( new MUCUser() );

to mucroom.cpp:539

- Dan

On 5/29/08, Daniel Starin <ds708@xxxxxxxxxxxx> wrote:
> Hi Jakob, as of gloox 1.0beta2, even with a <x
> xmlns='http://jabber.org/protocol/muc#user'>, presence joining and
> leaving a MUC room isn't recognized.  Does anyone have a workaround
> for 1.0beta2?
>
> <presence 
> from='a3d8d931bb9cc8ab9c93687182f2fe06@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/danstarin'
> to='danstarin@xxxxxxxxx/3F9458F9'><priority>0</priority><x
> xmlns='vcard-temp:x:update'><photo/></x><x
> xmlns='http://jabber.org/protocol/muc#user'><item
> jid='danstarin@xxxxxxxxx/3F9458F9' affiliation='owner'
> role='moderator'/></x></presence>
>
> Thanks,
>
> Dan
>
> On 3/5/08, lerosua <lerosua@xxxxxxxxx> wrote:
> > it seems the gloox 1.0beta2 also have this problem,
> > i also can't recevice the people 's join/leave  's presence of room
> >
> > 2008/3/4, Jakob Schröter <js@xxxxxxxxxx>:
> > >
> > > 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
> > >
> > > --
> > > gloox-dev mailing list
> > > to unsubscribe:
> > > send a message with subject 'unsubscribe gloox-dev' to
> > minimalist@xxxxxxxxxx
> > >
> > >
> >
> >
> > --
> > gloox-dev mailing list
> > to unsubscribe:
> > send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx
> >
> >
>
-- 
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx