don't send receipt answer for forwarded messages. Fixes #7548
This commit is contained in:
parent
0bae08571a
commit
47b00c5c23
|
@ -1211,7 +1211,8 @@ class ConnectionHandlersBase:
|
|||
gc_contact = gajim.contacts.get_gc_contact(self.name, obj.jid, nick)
|
||||
if obj.receipt_request_tag and gajim.config.get_per('accounts',
|
||||
self.name, 'answer_receipts') and ((contact and contact.sub \
|
||||
not in (u'to', u'none')) or gc_contact) and obj.mtype != 'error':
|
||||
not in (u'to', u'none')) or gc_contact) and obj.mtype != 'error' and \
|
||||
not obj.forwarded:
|
||||
receipt = nbxmpp.Message(to=obj.fjid, typ='chat')
|
||||
receipt.setID(obj.id_)
|
||||
receipt.setTag('received', namespace='urn:xmpp:receipts',
|
||||
|
|
Loading…
Reference in New Issue