Commit fddcd2b3 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Receipts: use build_receipt()

parent 8b6a1d1c
......@@ -16,6 +16,7 @@
import nbxmpp
from nbxmpp.structs import StanzaHandler
from nbxmpp.modules.receipts import build_receipt
from gajim.common import app
from gajim.common.nec import NetworkEvent
......@@ -55,7 +56,7 @@ def _process_message_receipt(self, _con, stanza, properties):
if contact is None:
return
self._log.info('Send receipt: %s', properties.jid)
self._con.connection.send(stanza.buildReceipt())
self._con.connection.send(build_receipt(stanza))
return
if properties.receipt.is_received:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment