diff options
author | Philipp Hörist <philipp@hoerist.com> | 2019-10-14 21:51:36 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2019-10-14 21:53:31 +0300 |
commit | 6705a89b693c76c075b1144b52b7c4e82ed5e936 (patch) | |
tree | f9c963d371cc24e4d939e859d3f3209443669cbe /nbxmpp/modules | |
parent | 16305759af54f1043a975ffd3effcb9b1e147d54 (diff) |
Attention: Don't parse legacy delay tags
Diffstat (limited to 'nbxmpp/modules')
-rw-r--r-- | nbxmpp/modules/attention.py | 2 |
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 |