fix: preserve paragraph breaks between text blocks in bridge responses (#144)

When Claude's response includes tool calls (Read, Edit, Bash, etc.),
the response text is split into multiple content blocks — one before
each tool call and one after. These blocks were joined with an empty
string (.join('')), causing all paragraphs to concatenate without
any spacing in the final Telegram message.

Changed .join('') to .join('\n\n') so paragraph breaks between text
blocks are preserved, matching how they appear in the desktop UI.
This commit is contained in:
Wujie Li authored and GitHub committed 2026-03-05 11:00:06 +08:00
1 parent a1bde18cd1
commit 3f19290c8d

Diff Content Not Available