summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorAnirudh <anirudh.chhangani@gmail.com>2015-06-18 00:21:19 +0530
committerAnirudh <anirudh.chhangani@gmail.com>2015-06-18 00:21:19 +0530
commit224d7ae133828ce2e1c2733f25f41dfce9a5f6ba (patch)
tree96b9860558e01c36da8221266e535507a82d005a /sleekxmpp
parenta8ac115310c1b9aaa80cc0d48a1157396b29abd3 (diff)
downloadslixmpp-224d7ae133828ce2e1c2733f25f41dfce9a5f6ba.tar.gz
slixmpp-224d7ae133828ce2e1c2733f25f41dfce9a5f6ba.tar.bz2
slixmpp-224d7ae133828ce2e1c2733f25f41dfce9a5f6ba.tar.xz
slixmpp-224d7ae133828ce2e1c2733f25f41dfce9a5f6ba.zip
add hash param to file metadata
Diffstat (limited to 'sleekxmpp')
-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')