summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0096
diff options
context:
space:
mode:
authorMike Taylor <bear42@gmail.com>2015-07-05 15:44:03 -0400
committerMike Taylor <bear42@gmail.com>2015-07-05 15:44:03 -0400
commit555fd6d9265e19e7ba7a1fe9ba73cb3e4ea575a3 (patch)
tree32323e93d1bea3289e9db2f17df6cfb78ed6003a /sleekxmpp/plugins/xep_0096
parentc024ac8f0b58d114d72660a1967f1632546606ed (diff)
parent224d7ae133828ce2e1c2733f25f41dfce9a5f6ba (diff)
downloadslixmpp-555fd6d9265e19e7ba7a1fe9ba73cb3e4ea575a3.tar.gz
slixmpp-555fd6d9265e19e7ba7a1fe9ba73cb3e4ea575a3.tar.bz2
slixmpp-555fd6d9265e19e7ba7a1fe9ba73cb3e4ea575a3.tar.xz
slixmpp-555fd6d9265e19e7ba7a1fe9ba73cb3e4ea575a3.zip
Merge pull request #380 from anirudh-chhangani/XEP-0096-add-hash-param
add hash metadata for file transfer
Diffstat (limited to 'sleekxmpp/plugins/xep_0096')
-rw-r--r--sleekxmpp/plugins/xep_0096/file_transfer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0096/file_transfer.py b/sleekxmpp/plugins/xep_0096/file_transfer.py
index 6873c7f5..52ba2f27 100644
--- a/sleekxmpp/plugins/xep_0096/file_transfer.py
+++ b/sleekxmpp/plugins/xep_0096/file_transfer.py
@@ -47,6 +47,7 @@ class XEP_0096(BasePlugin):
data['size'] = size
data['date'] = date
data['desc'] = desc
+ data['hash'] = hash
if allow_ranged:
data.enable('range')