From 224d7ae133828ce2e1c2733f25f41dfce9a5f6ba Mon Sep 17 00:00:00 2001 From: Anirudh Date: Thu, 18 Jun 2015 00:21:19 +0530 Subject: add hash param to file metadata --- sleekxmpp/plugins/xep_0096/file_transfer.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sleekxmpp') 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') -- cgit v1.2.3