Commit 13a50a5d authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

1) Removed catch of UnauthorizedException.

2) Added catch of NotAllowedException.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@493 b35dd754-fafc-0310-a699-88a17e54d16e
parent a20374c6
......@@ -256,9 +256,6 @@ public class MUCUserImpl implements MUCUser {
}
}
}
catch (UnauthorizedException e) {
sendErrorPacket(packet, XMPPError.Code.UNAUTHORIZED);
}
catch (ForbiddenException e) {
sendErrorPacket(packet, XMPPError.Code.FORBIDDEN);
}
......@@ -317,6 +314,9 @@ public class MUCUserImpl implements MUCUser {
catch (ConflictException e) {
sendErrorPacket(packet, XMPPError.Code.CONFLICT);
}
catch (NotAllowedException e) {
sendErrorPacket(packet, XMPPError.Code.NOT_ALLOWED);
}
}
}
}
......
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