Fix regression from ad9370af

This commit is contained in:
Philipp Hörist 2017-03-24 23:35:08 +01:00
parent 49a5bb631c
commit ba0408855c
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class JingleContent:
# if the file is less than 10 mb, then it is small
# lets calculate it right away
if self.file_props.size < 10000000 and not self.file_props.hash_:
hash_data = content._compute_hash()
hash_data = self._compute_hash()
if hash_data:
file_tag.addChild(node=hash_data)
pjid = gajim.get_jid_without_resource(self.session.peerjid)