From e5abaa34b229c538d2d4b7a5202981068a1468c7 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 29 Jan 2019 11:40:44 +0100 Subject: [PATCH] Fix cursor channel not updated to ephemeral --- www/common/sframe-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/sframe-common.js b/www/common/sframe-common.js index 1236d4fcd..d6cbfc350 100644 --- a/www/common/sframe-common.js +++ b/www/common/sframe-common.js @@ -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);