mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
fix(pinning): fix missing Env on rtChannel repair function
This commit is contained in:
parent
069e398d3d
commit
91e862c1ed
@ -1493,8 +1493,8 @@ const factory = (UserObject, Util, Hash,
|
||||
const setRtChannelTo = () => {
|
||||
clearTimeout(rtChannelTo);
|
||||
rtChannelTo = setTimeout(() => {
|
||||
if (Env.store.offline) { return; }
|
||||
const list = findMissingRtChannel();
|
||||
if (Env.store.offline) { return void setRtChannelTo(); }
|
||||
const list = findMissingRtChannel(Env);
|
||||
Env.Store.fixMissingRtChannelInterval(list, () => {
|
||||
setRtChannelTo();
|
||||
});
|
||||
|
||||
2
www/common/worker.bundle.min.js
vendored
2
www/common/worker.bundle.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user