mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 14:31:10 +00:00
refactor: prune legacy group prefixes
This commit is contained in:
@@ -128,7 +128,7 @@ describe("trigger handling", () => {
|
||||
const res = await getReplyFromConfig(
|
||||
{
|
||||
Body: "/elevated off",
|
||||
From: "group:123@g.us",
|
||||
From: "whatsapp:group:123@g.us",
|
||||
To: "whatsapp:+2000",
|
||||
Provider: "whatsapp",
|
||||
SenderE164: "+1000",
|
||||
@@ -172,7 +172,7 @@ describe("trigger handling", () => {
|
||||
const res = await getReplyFromConfig(
|
||||
{
|
||||
Body: "/elevated on",
|
||||
From: "group:123@g.us",
|
||||
From: "whatsapp:group:123@g.us",
|
||||
To: "whatsapp:+2000",
|
||||
Provider: "whatsapp",
|
||||
SenderE164: "+1000",
|
||||
|
||||
Reference in New Issue
Block a user