Don't delete the old chat for now

pull/1/head
yflory 6 years ago
parent fb5ad34299
commit 489a99c5c4

@ -173,7 +173,7 @@ define([
}; };
funcs.openPadChat = function (saveChanges) { funcs.openPadChat = function (saveChanges) {
var md = JSON.parse(JSON.stringify(ctx.metadataMgr.getMetadata())); var md = JSON.parse(JSON.stringify(ctx.metadataMgr.getMetadata()));
if (md.chat) { delete md.chat; } // Old channel without signing key //if (md.chat) { delete md.chat; } // Old channel without signing key
var channel = md.chat2 || Hash.createChannelId(); var channel = md.chat2 || Hash.createChannelId();
if (!md.chat2) { if (!md.chat2) {
md.chat2 = channel; md.chat2 = channel;

Loading…
Cancel
Save