diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 430f4c99f..02f7c80a7 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -725,7 +725,7 @@ define([ common.setPadAttribute('channel', newSecret.channel, waitFor(function (err) { if (err) { warning = true; } }), href); - var viewHash = Hash.getViewHashFromKeys(secret); + var viewHash = Hash.getViewHashFromKeys(newSecret); newRoHref = '/' + parsed.type + '/#' + viewHash; common.setPadAttribute('roHref', newRoHref, waitFor(function (err) { if (err) { warning = true; }