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

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2019-10-14 21:51:36 +0300
committerPhilipp Hörist <philipp@hoerist.com>2019-10-14 21:53:31 +0300
commit6705a89b693c76c075b1144b52b7c4e82ed5e936 (patch)
treef9c963d371cc24e4d939e859d3f3209443669cbe /nbxmpp/modules
parent16305759af54f1043a975ffd3effcb9b1e147d54 (diff)
Attention: Don't parse legacy delay tags
Diffstat (limited to 'nbxmpp/modules')
-rw-r--r--nbxmpp/modules/attention.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/modules/attention.py b/nbxmpp/modules/attention.py
index 15a93ae..a0d2269 100644
--- a/nbxmpp/modules/attention.py
+++ b/nbxmpp/modules/attention.py
@@ -45,7 +45,7 @@ class Attention:
if properties.is_carbon_message and properties.carbon.is_sent:
return
- if stanza.getTag('x', namespace=NS_DELAY2) is not None:
+ if stanza.getTag('delay', namespace=NS_DELAY2) is not None:
return
properties.attention = True