fix(telegram): send /say echo quote silently (#79) #82

Merged
weiwen merged 1 commit from fm/evie-say-silent-quote into main 2026-07-30 20:05:39 +08:00
Owner

Resolves #79.

The /api/telegram/say endpoint echoes injected text verbatim as a blockquote via echo_verbatim for posterity. That send previously triggered a Telegram notification.

The echo is a bookkeeping record; pi's reply that streams in-thread afterward is the notifiable content. This sets disable_notification(true) on the echo send only, so the quote arrives silently. The streamed reply's notification behavior is unchanged.

just check (fmt/clippy -D warnings/test, 485 passed) is green.

Resolves #79. The `/api/telegram/say` endpoint echoes injected text verbatim as a blockquote via `echo_verbatim` for posterity. That send previously triggered a Telegram notification. The echo is a bookkeeping record; pi's reply that streams in-thread afterward is the notifiable content. This sets `disable_notification(true)` on the echo send only, so the quote arrives silently. The streamed reply's notification behavior is unchanged. `just check` (fmt/clippy -D warnings/test, 485 passed) is green.
fix(telegram): send /say echo quote silently (#79)
All checks were successful
CI / check (pull_request) Successful in 1m32s
PR Triage — label changes-requested reviews / triage-review (pull_request) Successful in 1s
4df53dba82
The verbatim blockquote posted by echo_verbatim is a bookkeeping record,
not notifiable content; pi's streamed reply carries the notification.
Set disable_notification(true) so the echo arrives without a ping.
weiwen merged commit 4a9a2b1280 into main 2026-07-30 20:05:39 +08:00
weiwen deleted branch fm/evie-say-silent-quote 2026-07-30 20:05:39 +08:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
weiwen/evie!82
No description provided.