summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
authorekini <eugene@dementiev.eu>2012-07-18 15:31:24 +0700
committerLance Stout <lancestout@gmail.com>2012-07-23 01:52:45 -0700
commitd571d691a7cb1f923baa82db75eb5e82845365be (patch)
treedd9bbf37cc3cd7485908e2b0f6be6dae2b36bf54 /sleekxmpp/plugins
parentfb221a8dc046b34cf28b853ba58d57711b624027 (diff)
downloadslixmpp-d571d691a7cb1f923baa82db75eb5e82845365be.tar.gz
slixmpp-d571d691a7cb1f923baa82db75eb5e82845365be.tar.bz2
slixmpp-d571d691a7cb1f923baa82db75eb5e82845365be.tar.xz
slixmpp-d571d691a7cb1f923baa82db75eb5e82845365be.zip
old clients still support xep-184/1.0 version
Now psi (and probably miranda) correctly receive delivery receipts.
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/xep_0184/receipt.py2
1 files changed, 1 insertions, 1 deletions
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):