Commit dc695cd8 authored by csh's avatar csh

MUC: 7.5 Sending a Private Message: If the sender attempts to send a private...

MUC: 7.5 Sending a Private Message: If the sender attempts to send a private message to an occupant JID that does not exist, the service MUST return an <item-not-found/> error to the sender.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@14003 b35dd754-fafc-0310-a699-88a17e54d16e
parent b0a3aa4c
...@@ -351,7 +351,7 @@ public class LocalMUCUser implements MUCUser { ...@@ -351,7 +351,7 @@ public class LocalMUCUser implements MUCUser {
sendErrorPacket(packet, PacketError.Condition.forbidden); sendErrorPacket(packet, PacketError.Condition.forbidden);
} }
catch (NotFoundException e) { catch (NotFoundException e) {
sendErrorPacket(packet, PacketError.Condition.recipient_unavailable); sendErrorPacket(packet, PacketError.Condition.item_not_found);
} }
catch (ConflictException e) { catch (ConflictException e) {
sendErrorPacket(packet, PacketError.Condition.conflict); sendErrorPacket(packet, PacketError.Condition.conflict);
......
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