fix: remove small URL text from RSS news posts, rely on link preview card only
This commit is contained in:
parent
ceeb80df03
commit
a4909723d9
|
|
@ -474,8 +474,8 @@ func (s *OfficialAccountsService) PostNextArticle(ctx context.Context, configID
|
||||||
var body string
|
var body string
|
||||||
switch cfg.AccountType {
|
switch cfg.AccountType {
|
||||||
case "rss":
|
case "rss":
|
||||||
// Post the link — renders as small clickable text; the link preview card shows the title/description
|
// Empty body — the link preview card handles all display
|
||||||
body = art.Link
|
body = ""
|
||||||
case "news":
|
case "news":
|
||||||
// Generate AI commentary
|
// Generate AI commentary
|
||||||
rssItem := &RSSItem{
|
rssItem := &RSSItem{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue