diff options
author | Anirudh <anirudh.chhangani@gmail.com> | 2015-06-18 00:21:19 +0530 |
---|---|---|
committer | Anirudh <anirudh.chhangani@gmail.com> | 2015-06-18 00:21:19 +0530 |
commit | 224d7ae133828ce2e1c2733f25f41dfce9a5f6ba (patch) | |
tree | 96b9860558e01c36da8221266e535507a82d005a /sleekxmpp/plugins/xep_0096/file_transfer.py | |
parent | a8ac115310c1b9aaa80cc0d48a1157396b29abd3 (diff) | |
download | slixmpp-224d7ae133828ce2e1c2733f25f41dfce9a5f6ba.tar.gz slixmpp-224d7ae133828ce2e1c2733f25f41dfce9a5f6ba.tar.bz2 slixmpp-224d7ae133828ce2e1c2733f25f41dfce9a5f6ba.tar.xz slixmpp-224d7ae133828ce2e1c2733f25f41dfce9a5f6ba.zip |
add hash param to file metadata
Diffstat (limited to 'sleekxmpp/plugins/xep_0096/file_transfer.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0096/file_transfer.py | 1 |
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') |