fix(telegram): default draft_transport to false to prevent reply-deleted artifacts

sendMessageDraft causes "reply to deleted message" artifacts on some
Telegram clients (tdesktop#10315). Disable by default so content
streaming uses message transport (same as reasoning stream).
This commit is contained in:
viettranx committed 2026-03-17 09:26:34 +07:00
1 parent baa4bb6d45
commit 1b876231a1
1 file changed
+3 -3
+3 -3
View File
@@ -203,11 +203,11 @@ func (c *Channel) StreamEnabled(isGroup bool) bool {
}
// draftTransportEnabled returns whether sendMessageDraft should be used for DM streaming.
// Default: true (enabled). Uses stealth preview with no per-edit notifications.
// Note: may cause "reply to deleted message" artifacts on some Telegram clients (tdesktop#10315).
// Default: false (disabled). When enabled, uses stealth preview with no per-edit notifications,
// but may cause "reply to deleted message" artifacts on some Telegram clients (tdesktop#10315).
func (c *Channel) draftTransportEnabled() bool {
if c.config.DraftTransport == nil {
return true
return false
}
return *c.config.DraftTransport
}