Commit 79192143 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Ignore messages of type ERROR. JM-279


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1310 b35dd754-fafc-0310-a699-88a17e54d16e
parent 89418f9f
...@@ -139,6 +139,10 @@ public class MUCUserImpl implements MUCUser { ...@@ -139,6 +139,10 @@ public class MUCUserImpl implements MUCUser {
* @param packet The packet to route. * @param packet The packet to route.
*/ */
public void process(Message packet) { public void process(Message packet) {
// Ignore messages of type ERROR sent to a room
if (Message.Type.error == packet.getType()) {
return;
}
lastPacketTime = System.currentTimeMillis(); lastPacketTime = System.currentTimeMillis();
JID recipient = packet.getTo(); JID recipient = packet.getTo();
String group = recipient.getNode(); String group = recipient.getNode();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment