Fix cursor channel not updated to ephemeral
parent
38803195a3
commit
e5abaa34b2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue