Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gajim/common/modules/message.py')
-rw-r--r--gajim/common/modules/message.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/gajim/common/modules/message.py b/gajim/common/modules/message.py
index dff03c1d6..a99cdd97d 100644
--- a/gajim/common/modules/message.py
+++ b/gajim/common/modules/message.py
@@ -40,6 +40,7 @@ from gajim.common.modules.contacts import GroupchatParticipant
from gajim.common.modules.misc import parse_oob
from gajim.common.modules.misc import parse_xhtml
from gajim.common.modules.util import check_if_message_correction
+from gajim.common.modules.util import check_if_message_retraction
from gajim.common.modules.util import get_eme_message
from gajim.common.structs import OutgoingMessage
@@ -190,6 +191,13 @@ class Message(BaseModule):
self._log):
return
+ if check_if_message_retraction(properties,
+ self._account,
+ from_,
+ kind,
+ self._log):
+ return
+
if type_.is_groupchat:
if not msgtxt:
return