mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Merge remote-tracking branch 'origin/access-list-kick-sessions' into 2026.4-test
This commit is contained in:
commit
3271a84eeb
@ -232,11 +232,11 @@ const _join: Callback = (ctx, clientId, data) => {
|
||||
|
||||
if (!isAnonymousSession) { return void allow(); }
|
||||
if (!store.anon_rpc) {
|
||||
if (isReloadNavigation && channel.wc) { return void allow(); }
|
||||
return void (isReloadNavigation ? deny() : allow());
|
||||
}
|
||||
_getMetadata(ctx, clientId, { channel: channelId }, md => {
|
||||
if (md?.rejected) { return void deny(); }
|
||||
if (isReloadNavigation && md?.error) { return void deny(); }
|
||||
allow();
|
||||
});
|
||||
};
|
||||
|
||||
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