Hello,
i have created a multi user chat, but i cant receive any messages. The smack debugger is logging this:
message sent:
<message id="K2FI1-7" to="myroom@conference.jabber.org" type="groupchat">
<body>test</body>
</message>
message received:
<message to="myuser@jabber.org/Smack" from="myroom@conference.jabber.org/nickname" type="groupchat">
<body>test</body>
</message>
Here is my code to listen to the messages:
connection.addPacketListener(this, new PacketTypeFilter(Message.class)); muc = new MultiUserChat(connection, CONFERENCE_ROOM);
muc.addParticipantStatusListener(this);
muc.addMessageListener(this);
muc.addParticipantListener(this);
So what did i do wrong?
greetz