@ascegu/teamily 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/channel.ts +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ascegu/teamily",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "OpenClaw Teamily channel plugin - Team instant messaging server integration",
5
5
  "keywords": [
6
6
  "channel",
package/src/channel.ts CHANGED
@@ -300,7 +300,8 @@ export const teamilyPlugin: ChannelPlugin<ResolvedTeamilyAccount> = {
300
300
  if (replyText) {
301
301
  const monitor = getTeamilyMonitor(accountId);
302
302
  if (!monitor) throw new Error(`Teamily monitor not running for account ${accountId}`);
303
- const target = normalizeTeamilyTarget(from);
303
+ const replyTo = isGroup ? `group:${message.recvID}` : from;
304
+ const target = normalizeTeamilyTarget(replyTo);
304
305
  await monitor.sendText(target, replyText);
305
306
  }
306
307
  },