@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.
- package/package.json +1 -1
- package/src/channel.ts +2 -1
package/package.json
CHANGED
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
|
|
303
|
+
const replyTo = isGroup ? `group:${message.recvID}` : from;
|
|
304
|
+
const target = normalizeTeamilyTarget(replyTo);
|
|
304
305
|
await monitor.sendText(target, replyText);
|
|
305
306
|
}
|
|
306
307
|
},
|