Re: "muc_example.cpp" problems
From: Jakob Schroeter <js@xxxxxxxxxx>
Date: Wed, 15 Apr 2009 21:10:22 +0200 (CEST)
Hi,

Quoting Diego Doñate <diego.donate@xxxxxxxxxxx>:


Hi,

When I receive an invitation in 'handleMUCInviteDecline()' function, what
should I do to accept and enter the conference, just to join?

The protocol for joining with and without invitation is identical.

Can you join the room without the invitation? Are there any differences in the log?




*** And to decline the invitation, you said I must send a message myself,
could you give me more details, please? I get a Stanza* from the function:

Stanza* pStanza = pRoom->declineInvitation(room, invitee, "Busy...");

You have to send the Stanza* (a Message*) that declineInvitation() returns and delete it.
  j->send( *pStanza );
  delete pStanza;

cheers,
Jakob