From 44822d38377c567fb8a3e6904cbf658b0292568e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 13 Sep 2015 13:57:04 +0200 Subject: [PATCH] update XEP-0334 (Message Processing Hints) to V0.2 --- src/common/connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index b0395b5cb..1e9171fb6 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -426,7 +426,7 @@ class CommonConnection: if msgenc: msg_iq.setTag(nbxmpp.NS_ENCRYPTED + ' x').setData(msgenc) - msg_iq.addChild(name='no-permanent-storage', + msg_iq.addChild(name='no-permanent-store', namespace=nbxmpp.NS_MSG_HINTS) if form_node: @@ -506,7 +506,7 @@ class CommonConnection: if self.carbons_enabled: msg_iq.addChild(name='private', namespace=nbxmpp.NS_CARBONS) - msg_iq.addChild(name='no-permanent-storage', + msg_iq.addChild(name='no-permanent-store', namespace=nbxmpp.NS_MSG_HINTS) msg_iq.addChild(name='no-copy', namespace=nbxmpp.NS_MSG_HINTS)