mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-30 19:32:27 +00:00
Merged via squash.
Prepared head SHA: 3369cf2c35
Co-authored-by: scoootscooob <167050519+scoootscooob@users.noreply.github.com>
Co-authored-by: scoootscooob <167050519+scoootscooob@users.noreply.github.com>
Reviewed-by: @scoootscooob
18 lines
527 B
TypeScript
18 lines
527 B
TypeScript
import { resolveChannelGroupRequireMention } from "openclaw/plugin-sdk/channel-policy";
|
|
import type { OpenClawConfig } from "openclaw/plugin-sdk/core";
|
|
|
|
type GoogleChatGroupContext = {
|
|
cfg: OpenClawConfig;
|
|
accountId?: string | null;
|
|
groupId?: string | null;
|
|
};
|
|
|
|
export function resolveGoogleChatGroupRequireMention(params: GoogleChatGroupContext): boolean {
|
|
return resolveChannelGroupRequireMention({
|
|
cfg: params.cfg,
|
|
channel: "googlechat",
|
|
groupId: params.groupId,
|
|
accountId: params.accountId,
|
|
});
|
|
}
|