1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-23 11:07:57 +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()) { if (isDelivered()) {
allEvents.add(MessageEvent.DELIVERED); allEvents.add(MessageEvent.DELIVERED);
} }
if (isCancelled()) { if (!isMessageEventRequest() && isCancelled()) {
allEvents.add(MessageEvent.CANCELLED); allEvents.add(MessageEvent.CANCELLED);
} }
if (isComposing()) { if (isComposing()) {