1
0
mirror of https://github.com/moparisthebest/xeps synced 2025-02-07 02:40:22 -05:00

Use hash-used as more appropriate for example 16

It seems description of example 16 exactly describes <hash-used> case. Moreover empty <hash> is likely invaid according to xep-0300.
This commit is contained in:
Sergey Ilinykh 2019-01-20 15:39:12 +03:00 committed by GitHub
parent e265f78979
commit 53046ef81a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -873,7 +873,7 @@ a=file-range:1024-*]]></code>
<name>test.txt</name>
<range/>
<size>6144</size>
<hash xmlns='urn:xmpp:hashes:2' algo='sha-1'/>
<hash-used xmlns='urn:xmpp:hashes:2' algo='sha-1'/>
</file>
</description>
<transport xmlns='urn:xmpp:jingle:transports:s5b:1'