From d993827c7e4ba500f8248f0c8a14132906718dc1 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 9 Sep 2019 15:31:59 +0200 Subject: [PATCH] Fix expiration time not updated properly on accept ownership --- www/common/outer/async-store.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index 492b3ed2a..1dfe35716 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -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;