Conversation
tonydwb
left a comment
There was a problem hiding this comment.
Code Review Summary
Verdict: Approved
Looks Good
- Fixes Matrix reply fallback behavior on split message tails by omitting the fallback when no prior reply context exists
- Test coverage added
- Focused, well-scoped fix
- No security concerns
|
Thanks for the focused Matrix fix. Current main repeats Automated hermes-sweeper review. |
6cea608 to
4eefa54
Compare
be03749 to
f3043b3
Compare
|
Current head |
f8a82bf to
3198393
Compare
3198393 to
6cdba3c
Compare
|
Rebased onto current main ( Multi-chunk Matrix sends now attach Verification: 4 focused long-reply/thread tests passed. |
6cdba3c to
7d5e63f
Compare
7d5e63f to
61a1e10
Compare
Status — rebuilt on current main (
|
225ea83 to
c9d9166
Compare
49c9b89 to
e130388
Compare
35e8a00 to
da03d1a
Compare
|
Updated on upstream main Current main still attaches reply fallback to every split chunk. This rebase keeps first-chunk-only fallback by default, honors reply_to_mode off/all, and leaves threaded tails as bare thread relations. Verified: Matrix 128 passed. The rewritten PR description is the current scope and verification reference. Local suite results are not a claim of full-repository or live-homeserver validation; current-head CI is tracked separately by the checks below. |
004e78c to
1371051
Compare
Attach m.in_reply_to only on the first chunk by default (reply_to_mode first). Later chunks keep m.thread when present. YAML off suppresses fallback on text and media. Rewrite the main split test that previously required reply fallback on every chunk.
cca7580 to
c20f4bb
Compare
|
Rebased onto current Behavior unchanged in intent: split Matrix sends attach reply-fallback Verification: |
Summary
Omit Matrix reply-fallback
m.in_reply_toon split-message tails.Main attaches reply fallback to every chunk and
test_long_response_split_preserves_thread_contextcurrently requires that. Long replies then produce N quoted bubbles in clients that render fallback. This PR keepsm.threadon every chunk when threaded, and puts reply fallback only on the first chunk by default.Behavior
reply_to_mode: first: first chunk may carrym.in_reply_to; later chunks keepm.threadonly.reply_to_mode: all: fallback on every chunk (old behavior).reply_to_mode: off(YAMLoff/false): no fallback on text or media. Thread relations still apply.first.Tests
141 passed on this head. The previous all-chunk
in_reply_toassertion is rewritten.Non-goals
Security
No new network or credentials. Relation metadata only.