Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging

This commit is contained in:
yflory
2017-05-15 13:54:25 +02:00
5 changed files with 51 additions and 34 deletions

View File

@@ -58,7 +58,7 @@ Version 1
if (hash.slice(0,1) !== '/' && hash.length >= 56) {
// Old hash
parsed.channel = hash.slice(0, 32);
parsed.key = hash.slice(32);
parsed.key = hash.slice(32, 56);
parsed.version = 0;
return parsed;
}