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