feat(wechat): send rich subscribe welcome with clickable intro and bind links
Memind CI / Test, build, and release guards (push) Has been cancelled

New followers receive capability overview plus WeChat anchor links for the
deep intro page and account binding instead of exposing raw URLs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-28 09:39:06 +08:00
parent 760a1760ae
commit f91ee97502
4 changed files with 91 additions and 1 deletions
+5 -1
View File
@@ -42,6 +42,7 @@ import { handleWechatIntentTransaction } from './wechat/handlers/intent-transact
import { handleWechatScheduledTaskIntent } from './wechat/handlers/scheduled-task.mjs';
import {
buildStatusText,
buildSubscribeWelcomeText,
resolveSyncReply,
shouldHandleSyncReply,
} from './wechat/handlers/sync-replies.mjs';
@@ -3768,7 +3769,10 @@ export function createWechatMpService({
body: buildWechatTextReply({
toUserName: inbound.fromUserName,
fromUserName: inbound.toUserName,
content: `${config.unboundTextPrefix}\n${buildBindUrl()}`,
content: buildSubscribeWelcomeText({
bindUrl: buildBindUrl(),
introUrl: config.subscribeIntroUrl,
}),
}),
};
}