changeset f670dd475da6 in /home/hg/repos/gajim
author: Philipp Hoerist
branches: gajim_0.16
details:http://hg.gajim.org/gajim?cmd=changeset;node=f670dd475da6
description: fix not defined NS_CHATSTATES variable
diffstat:
src/common/connection.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 4f26d28d7943 -r f670dd475da6 src/common/connection.py
--- a/src/common/connection.py Thu Jul 14 22:29:21 2016 +0200
+++ b/src/common/connection.py Sun Jul 17 00:44:41 2016 +0200
@@ -495,8 +495,8 @@
# chatstates - if peer supports xep85, send chatstates
# please note that the only valid tag inside a message containing a
# <body> tag is the active event
- if chatstate and contact and contact.supports(NS_CHATSTATES):
- msg_iq.setTag(chatstate, namespace=NS_CHATSTATES)
+ if chatstate and contact and
contact.supports(nbxmpp.NS_CHATSTATES):
+ msg_iq.setTag(chatstate, namespace=nbxmpp.NS_CHATSTATES)
# XEP-0184
if msgtxt and gajim.config.get_per('accounts', self.name,
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits