Subject: Getting sender id in a multi user chat room
Hi,
I'm creating a multi user chat room using the following:
MucManager _mucManager = new MucManager(_connection);
Jid roomJid = new Jid("Chatroom@xxxxxx.com");
_mucManager.CreateReservedRoom(roomJid);
_mucManager.JoinRoom(roomJid, _nickName);
_mucManager.AcceptDefaultConfiguration(roomJid);
I handle all received messages using the MessageHandler.
But I couldn't find any method to know who the sender of the message is in the multi user chat.
Each message is of type groupchat and but the sender (From) is Chatroom@xxxxxx.com and not the actual sender of the message.
How do I identify who sent a particular message in the multi-user conversation?
Thanks.
I'm creating a multi user chat room using the following:
MucManager _mucManager = new MucManager(_connection);
Jid roomJid = new Jid("Chatroom@xxxxxx.com");
_mucManager.CreateReservedRoom(roomJid);
_mucManager.JoinRoom(roomJid, _nickName);
_mucManager.AcceptDefaultConfiguration(roomJid);
I handle all received messages using the MessageHandler.
But I couldn't find any method to know who the sender of the message is in the multi user chat.
Each message is of type groupchat and but the sender (From) is Chatroom@xxxxxx.com and not the actual sender of the message.
How do I identify who sent a particular message in the multi-user conversation?
Thanks.