From d571d691a7cb1f923baa82db75eb5e82845365be Mon Sep 17 00:00:00 2001 From: ekini Date: Wed, 18 Jul 2012 15:31:24 +0700 Subject: old clients still support xep-184/1.0 version Now psi (and probably miranda) correctly receive delivery receipts. --- sleekxmpp/plugins/xep_0184/receipt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleekxmpp/plugins/xep_0184/receipt.py b/sleekxmpp/plugins/xep_0184/receipt.py index 044fa83f..2b939321 100644 --- a/sleekxmpp/plugins/xep_0184/receipt.py +++ b/sleekxmpp/plugins/xep_0184/receipt.py @@ -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): -- cgit v1.2.3