mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 04:49:34 +00:00
fix(mattermost): harden react remove flag parsing
This commit is contained in:
@@ -83,7 +83,7 @@ const mattermostMessageActions: ChannelMessageActionAdapter = {
|
||||
throw new Error("Mattermost react requires emoji");
|
||||
}
|
||||
|
||||
const remove = Boolean((params as any)?.remove);
|
||||
const remove = (params as any)?.remove === true;
|
||||
if (remove) {
|
||||
const result = await removeMattermostReaction({
|
||||
cfg,
|
||||
|
||||
Reference in New Issue
Block a user