parent
7fe03dcb45
commit
53d6b1dc32
|
@ -162,7 +162,6 @@ gajim_common_features = [
|
||||||
nbxmpp.NS_CONFERENCE,
|
nbxmpp.NS_CONFERENCE,
|
||||||
nbxmpp.NS_CORRECT,
|
nbxmpp.NS_CORRECT,
|
||||||
nbxmpp.NS_EME,
|
nbxmpp.NS_EME,
|
||||||
nbxmpp.NS_HASHES,
|
|
||||||
nbxmpp.NS_HASHES_2,
|
nbxmpp.NS_HASHES_2,
|
||||||
nbxmpp.NS_HASHES_MD5,
|
nbxmpp.NS_HASHES_MD5,
|
||||||
nbxmpp.NS_HASHES_SHA1,
|
nbxmpp.NS_HASHES_SHA1,
|
||||||
|
|
|
@ -445,6 +445,8 @@ class JingleSession:
|
||||||
if child.getName() == 'checksum':
|
if child.getName() == 'checksum':
|
||||||
hash_ = child.getTag('file').getTag(name='hash',
|
hash_ = child.getTag('file').getTag(name='hash',
|
||||||
namespace=nbxmpp.NS_HASHES_2)
|
namespace=nbxmpp.NS_HASHES_2)
|
||||||
|
if hash_ is None:
|
||||||
|
continue
|
||||||
algo = hash_.getAttr('algo')
|
algo = hash_.getAttr('algo')
|
||||||
if algo in nbxmpp.Hashes2.supported:
|
if algo in nbxmpp.Hashes2.supported:
|
||||||
file_props = FilesProp.getFileProp(self.connection.name,
|
file_props = FilesProp.getFileProp(self.connection.name,
|
||||||
|
|
Loading…
Reference in New Issue