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

Receipts: use build_receipt()

parent 8b6a1d1c
Pipeline #4401 passed with stages
in 2 minutes and 31 seconds
......@@ -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 @@ class Receipts(BaseModule):
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