mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-30 10:12: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:
parent
c23b4f20db
commit
428a82d596
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in a new issue