Message search lists an edited message once per version #288

Closed
opened 2026-10-04 19:50:21 -04:00 by jared · 0 comments
Owner

Searching meeting returned three rows for one message (screenshot): "Monday 10am room A" (original), "Tuesday 10am room A" (edit 1) and "Tuesday 11am room B" (edit 2). Server-side search returns the m.replace events too, and the results list renders each as its own message.

Fix: drop results whose m.relates_to.rel_type is m.replace (or fold them into their target and show the latest content once). This probably comes from upstream Cinny's search; it's still visible in Lotus.

Screenshot

F33-search-edit-dupes.png


Found in the October 2026 client audit (Playwright against a local Synapse + LiveKit stack, plus code reading). Code refs are at cinny 30e2dbcd, cinny-desktop 8f67ec7, element-call 3b0050e8.

Searching `meeting` returned **three rows for one message** (screenshot): "Monday 10am room A" (original), "Tuesday 10am room A" (edit 1) and "Tuesday 11am room B" (edit 2). Server-side search returns the `m.replace` events too, and the results list renders each as its own message. **Fix:** drop results whose `m.relates_to.rel_type` is `m.replace` (or fold them into their target and show the latest content once). This probably comes from upstream Cinny's search; it's still visible in Lotus. **Screenshot** ![F33-search-edit-dupes.png](https://code.lotusguild.org/attachments/336dccf9-0212-476e-a3e3-a45ba295d4f2) --- _Found in the October 2026 client audit (Playwright against a local Synapse + LiveKit stack, plus code reading). Code refs are at cinny `30e2dbcd`, cinny-desktop `8f67ec7`, element-call `3b0050e8`._
jared added the priority: lowuxarea: messaging labels 2026-10-04 19:50:21 -04:00
jared closed this issue 2026-10-18 00:59:47 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/cinny#288