Merge remote-tracking branch 'origin/access-list-kick-sessions' into 2026.4-test

This commit is contained in:
yflory 2026-05-04 10:53:47 +02:00
commit 3271a84eeb
2 changed files with 2 additions and 2 deletions

View File

@ -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();
});
};

File diff suppressed because one or more lines are too long