old clients still support xep-184/1.0 version

Now psi (and probably miranda) correctly receive delivery receipts.
This commit is contained in:
ekini 2012-07-18 15:31:24 +07:00 committed by Lance Stout
parent fb221a8dc0
commit d571d691a7

View File

@ -68,7 +68,7 @@ class XEP_0184(BasePlugin):
ack['to'] = msg['from']
ack['from'] = msg['to']
ack['receipt'] = msg['id']
ack['id'] = self.xmpp.new_id()
ack['id'] = msg['id']
ack.send()
def _handle_receipt_received(self, msg):