MUCRoom/MessageSession problem
From: "Ilian Jeri Pinzon" <ilianpinzon@xxxxxxxxx>
Date: Wed, 17 Oct 2007 12:03:36 +0200 (CEST)
Hi,

First of all, good work on a great library.

I'm fairly progressing with my gloox client but I encountered an unexpected
behavior when using MUCRoom and MessageSession. Here's the scenario:

1. gloox-client enters MUC room.
2. User A sends a message to MUC room.
3. gloox-client receives the message in MUCRoomHandler::handleMUCMessage()
4. User A sends a private message to gloox-client in MUC Room
5. gloox-client receives the message in MUCRoomHandler::handleMUCMessage()

--- So far so good. Now the error: ---

6. gloox-client sends a private message to User A inside the MUC Room (i.e.
to User A's MUC room nick) using MessageSession
7. User A sends a message to MUC room.
8. gloox-client receives the message in *MessageHandler::handleMessage()*
9. User A sends a private message to gloox-client in MUC Room
10. gloox-client receives the message in *MessageHandler::handleMessage()*

The messages in step 8 and 9 are not received in
MUCRoomHandler::handleMUCMessage(). Which should be the correct behavior,
right? I think this was caused by step 6 when a MessageSession was used to
send the message.

I'm still digging through the code to find the cause of this problem. Can
you help or at least give hints on where to start?

Thanks.

- Ilian