Fix WhatsApp group access when senders are opaque LIDs.

Resolve LID to phone aliases before allowlist and @mention checks so
group prompts are not silently dropped after a working direct chat.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-05 15:56:24 +08:00
parent 7f1b9bd480
commit d9edca4d5f
9 changed files with 472 additions and 203 deletions

View file

@ -158,6 +158,7 @@ function createBridge({
signal,
logger,
reactions,
groupSessionScope = 'chat',
} = {}) {
return new TextHarnessBridge({
descriptor: { key: 'test', label: 'Test', reactions },
@ -166,6 +167,7 @@ function createBridge({
state,
signal,
logger: logger ?? { warn() {}, error() {} },
groupSessionScope,
});
}