mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-29 17:50:53 +00:00
fix(mattermost): surface reactions support
This commit is contained in:
@@ -37,6 +37,12 @@ describe("mattermostPlugin", () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe("capabilities", () => {
|
||||
it("declares reactions support", () => {
|
||||
expect(mattermostPlugin.capabilities?.reactions).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
describe("messageActions", () => {
|
||||
it("exposes react when mattermost is configured", () => {
|
||||
const cfg: OpenClawConfig = {
|
||||
|
||||
@@ -167,6 +167,7 @@ export const mattermostPlugin: ChannelPlugin<ResolvedMattermostAccount> = {
|
||||
},
|
||||
capabilities: {
|
||||
chatTypes: ["direct", "channel", "group", "thread"],
|
||||
reactions: true,
|
||||
threads: true,
|
||||
media: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user