Commit 16fe70e
committed
fix(telegram): preserve message_thread_id on media caption parse fallback
ClawSweeper P1: the media wrapper passed removeMessageThreadIdParam(
plainMediaParams) even for the first attempt, so an HTML caption parse
error for a topic-scoped media send retried without message_thread_id and
could deliver topic media to the group root. Keep the thread for caption
parse fallback; only strip it for the allowed thread-not-found retry.1 parent f313c27 commit 16fe70e
3 files changed
Lines changed: 66 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
688 | | - | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
689 | 693 | | |
690 | 694 | | |
691 | 695 | | |
| |||
704 | 708 | | |
705 | 709 | | |
706 | 710 | | |
707 | | - | |
708 | | - | |
709 | | - | |
| 711 | + | |
710 | 712 | | |
711 | 713 | | |
712 | 714 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1969 | 1969 | | |
1970 | 1970 | | |
1971 | 1971 | | |
| 1972 | + | |
| 1973 | + | |
| 1974 | + | |
| 1975 | + | |
| 1976 | + | |
| 1977 | + | |
| 1978 | + | |
| 1979 | + | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
1972 | 2022 | | |
1973 | 2023 | | |
1974 | 2024 | | |
| |||
3135 | 3185 | | |
3136 | 3186 | | |
3137 | 3187 | | |
| 3188 | + | |
3138 | 3189 | | |
3139 | 3190 | | |
3140 | 3191 | | |
| |||
3543 | 3594 | | |
3544 | 3595 | | |
3545 | 3596 | | |
| 3597 | + | |
3546 | 3598 | | |
3547 | 3599 | | |
3548 | 3600 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1512 | 1512 | | |
1513 | 1513 | | |
1514 | 1514 | | |
1515 | | - | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
1516 | 1522 | | |
1517 | 1523 | | |
1518 | 1524 | | |
1519 | 1525 | | |
1520 | | - | |
| 1526 | + | |
1521 | 1527 | | |
1522 | 1528 | | |
1523 | 1529 | | |
| |||
0 commit comments