Comment options.
This commit is contained in:
parent
a495d090c3
commit
8fefd0ede4
|
@ -311,8 +311,8 @@ class Config:
|
||||||
'zeroconf_jabber_id': [ opt_str, '', '', True ],
|
'zeroconf_jabber_id': [ opt_str, '', '', True ],
|
||||||
'zeroconf_email': [ opt_str, '', '', True ],
|
'zeroconf_email': [ opt_str, '', '', True ],
|
||||||
'use_env_http_proxy' : [opt_bool, False],
|
'use_env_http_proxy' : [opt_bool, False],
|
||||||
'answer_receipt' : [opt_bool, True],
|
'answer_receipt' : [opt_bool, True, _('Answer to receipt requests')],
|
||||||
'request_receipt' : [opt_bool, True],
|
'request_receipt' : [opt_bool, True, _('Sent receipt requests')],
|
||||||
'otr_flags': [opt_int, 58 ],
|
'otr_flags': [opt_int, 58 ],
|
||||||
'publish_mood': [opt_bool, True],
|
'publish_mood': [opt_bool, True],
|
||||||
'publish_activity': [opt_bool, True],
|
'publish_activity': [opt_bool, True],
|
||||||
|
|
|
@ -1695,6 +1695,7 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
|
||||||
xep_200_encrypted = msg.getTag('c', namespace=common.xmpp.NS_STANZA_CRYPTO)
|
xep_200_encrypted = msg.getTag('c', namespace=common.xmpp.NS_STANZA_CRYPTO)
|
||||||
|
|
||||||
# Receipt requested
|
# Receipt requested
|
||||||
|
# TODO: We shouldn't answer if we're invisible!
|
||||||
if msg.getTag('request', namespace='urn:xmpp:receipts') and \
|
if msg.getTag('request', namespace='urn:xmpp:receipts') and \
|
||||||
gajim.config.get_per('accounts', self.name, 'answer_receipt'):
|
gajim.config.get_per('accounts', self.name, 'answer_receipt'):
|
||||||
receipt = common.xmpp.Message(to = jid, typ = 'chat')
|
receipt = common.xmpp.Message(to = jid, typ = 'chat')
|
||||||
|
|
Loading…
Reference in New Issue