Fix expiration time not updated properly on accept ownership

This commit is contained in:
yflory 2019-09-09 15:31:59 +02:00
parent 5e5d1ecddb
commit d993827c7e

View File

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