Merge branch 'master' into staging

This commit is contained in:
yflory
2019-01-31 14:09:42 +01:00
3 changed files with 30 additions and 4 deletions

View File

@@ -201,7 +201,7 @@ define([
if (typeof(channel) !== 'string' || channel.length !== Hash.ephemeralChannelLength) {
channel = Hash.createChannelId(true); // true indicates that it's an ephemeral channel
}
if (!md.cursor) {
if (md.cursor !== channel) {
md.cursor = channel;
ctx.metadataMgr.updateMetadata(md);
setTimeout(saveChanges);