fix group receipt acks
This commit is contained in:
parent
2683b774f0
commit
e357cef047
|
@ -742,9 +742,9 @@ class YowsupAppLayer(YowInterfaceLayer):
|
|||
def onReceipt(self, entity):
|
||||
"""Sends ack automatically"""
|
||||
# entity is IncomingReceiptProtocolEntity
|
||||
ack = OutgoingAckProtocolEntity(entity.getId(),
|
||||
'receipt', entity.getType(), entity.getFrom())
|
||||
self.toLower(ack)
|
||||
#ack = OutgoingAckProtocolEntity(entity.getId(),
|
||||
# 'receipt', entity.getType(), entity.getFrom())
|
||||
self.toLower(entity.ack())
|
||||
_id = entity._id
|
||||
_from = entity._from
|
||||
timestamp = entity.timestamp
|
||||
|
|
Loading…
Reference in a new issue