Fix expiration time not updated properly on accept ownership

pull/1/head
yflory 5 years ago
parent 5e5d1ecddb
commit d993827c7e

@ -824,6 +824,9 @@ define([
if (channelData && channelData.wc && channel === channelData.wc.id) { if (channelData && channelData.wc && channel === channelData.wc.id) {
expire = +channelData.data.expire || undefined; expire = +channelData.data.expire || undefined;
} }
if (data.expire) {
expire = data.expire;
}
var datas = store.manager.findChannel(channel); var datas = store.manager.findChannel(channel);
var contains = datas.length !== 0; var contains = datas.length !== 0;

Loading…
Cancel
Save