Skip to content

Commit 51f889a

Browse files
fix: revert team-member guard, fix release notes to v0.3.94
Revert the isTeamMember check that may have caused issues. Update README release notes header to say v0.3.94.
1 parent 6f82fe8 commit 51f889a

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.opencode/plugin/mattermost-control/tools/connect.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -530,14 +530,8 @@ function setupWebSocketListeners(
530530
}
531531

532532
// Non-owner mentioned bot - only allow delegated session creation
533-
// They MUST be a team member AND mention the session owner
534-
// e.g., "@kaji @christine fix this"
533+
// They MUST also mention the session owner (e.g., "@kaji @christine fix this")
535534
// Just mentioning @kaji alone does nothing for non-owners
536-
if (!isTeamMember) {
537-
log.debug(`[Channel] Non-team-member @mentioned bot in unmapped thread - ignoring (channel: ${channel.id})`);
538-
return;
539-
}
540-
541535
if (ownerUserId && botUser) {
542536
const mentionedUsers = sessionOwnershipHandler.detectMentionedUsers(
543537
postData.message,

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Control [OpenCode](https://opencode.ai) remotely via Mattermost direct messages.
99

1010
## Release Notes
1111

12-
### v0.3.95 — Teammate Delegated Sessions (New Feature)
12+
### v0.3.94 — Teammate Delegated Sessions (New Feature)
1313

1414
**Teammates can now summon the session owner's Kaji on their behalf.**
1515

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencode-mattermost-control",
3-
"version": "0.3.95",
3+
"version": "0.3.94",
44
"description": "OpenCode plugin for remote control via Mattermost DMs",
55
"type": "module",
66
"main": ".opencode/plugin/mattermost-control/index.ts",

0 commit comments

Comments
 (0)