Some more bugfixes (see 0.16 branch)

这个提交存在于:
tmolitor 2016-07-17 14:29:53 +02:00
父节点 d99f190ac6
当前提交 ac729ce050
共有 2 个文件被更改,包括 4 次插入4 次删除

查看文件

@ -479,8 +479,8 @@ class CommonConnection:
# 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,

查看文件

@ -1366,8 +1366,8 @@ class AboutDialog:
"""
Where can we find this Credits file?
"""
if os.path.isfile(os.path.join(gajim.defs.docdir, filename)):
return os.path.join(gajim.defs.docdir, filename)
if os.path.isfile(os.path.join(defs.docdir, filename)):
return os.path.join(defs.docdir, filename)
elif os.path.isfile('../' + filename):
return ('../' + filename)
else: