1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 16:22:06 +01:00

Make sure that CANCELLED event type is not presence when message event is a request.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3043 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2005-11-08 22:28:52 +00:00 committed by gato
parent c23b4f20db
commit 428a82d596

View file

@ -171,7 +171,7 @@ public class MessageEvent implements PacketExtension {
if (isDelivered()) {
allEvents.add(MessageEvent.DELIVERED);
}
if (isCancelled()) {
if (!isMessageEventRequest() && isCancelled()) {
allEvents.add(MessageEvent.CANCELLED);
}
if (isComposing()) {