Skip to content

[Bug]: Group @mention not detected #36317

@DaisyJunHan

Description

@DaisyJunHan

Bug type

Regression (worked before, now fails)

Summary

When a message in a group chat mentions the bot (using @username), the system fails to detect the mention and doesn't create a session or respond.

Steps to reproduce

1.Fix Bug 1 by adding group ID to allowFrom
2.Restart gateway
3.Send a message in the group that @mentions the bot

Expected behavior

Bot should detect when it's mentioned in a group chat and respond accordingly.

Actual behavior

Log shows: message in group <chat_id> did not mention bot even when bot was clearly @mentioned
No session is created, no response is sent.

OpenClaw version

2026.3.2

Operating system

macOS15.5

Install method

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions