Merged via squash. Prepared head SHA: 3369cf2c35cbf03bc4008d123e69f43f1cc083e9 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,
|
|
});
|
|
}
|