Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] replies do not appear in search results ( render issue ) #2111

Open
1 task done
rezk2ll opened this issue Oct 24, 2024 · 0 comments
Open
1 task done

[BUG] replies do not appear in search results ( render issue ) #2111

rezk2ll opened this issue Oct 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rezk2ll
Copy link
Member

rezk2ll commented Oct 24, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

when searching inside a conversation ( group chat / direct messages ) the replies text do not appear ( not render ) on the search results.

Pre-Bug State

  • reply to a message with a text
  • search for that text

To Reproduce

  • open group chat / direct message
  • reply to a message with a text for example "bonjour"
  • then search for bonjour

Expected results

message replies should appear in the search results

Context

  • Device: HP ProBook
  • OS: Ubuntu
  • Browser: Chrome, EDGE
  • App Version: 2.6.7
  • Server: staging

Screenshots or Video

Screenshots / Video demonstration
reply-search-ezgif.com-mute-video.mp4

Logs

Logs

the response of the https://matrix.stg.lin-saas.com/_matrix/client/v3/search

{
    "search_categories": {
        "room_events": {
            "results": [
                {
                    "rank": 0.1,
                    "result": {
                        "content": {
                            "body": "> <@testcontact:stg.lin-saas.com> is this working?\n\nbonjour",
                            "format": "org.matrix.custom.html",
                            "formatted_body": "<mx-reply><blockquote><a href=\"https://matrix.to/#/!rHRnSJAWJAiGrjUjfg:stg.lin-saas.com/$vycLPmi6637K6Y2sJg5D5mZQfhJyoH9rw4MNk8vng5I\">In reply to</a> <a href=\"https://matrix.to/#/@testcontact:stg.lin-saas.com\">@testcontact:stg.lin-saas.com</a><br>is this working?</blockquote></mx-reply>bonjour",
                            "m.relates_to": {
                                "m.in_reply_to": {
                                    "event_id": "$vycLPmi6637K6Y2sJg5D5mZQfhJyoH9rw4MNk8vng5I"
                                }
                            },
                            "msgtype": "m.text"
                        },
                        "origin_server_ts": 1729753941176,
                        "room_id": "!rHRnSJAWJAiGrjUjfg:stg.lin-saas.com",
                        "sender": "@kferjani:stg.lin-saas.com",
                        "type": "m.room.message",
                        "unsigned": {
                            "membership": "join",
                            "age": 107497,
                            "transaction_id": "Twake Chat web-1-1729753940926"
                        },
                        "event_id": "$3-lqmsS-WL2F1Z0sy1GL1q2nhtU4C1jFdQL7tcUs0OI",
                        "user_id": "@kferjani:stg.lin-saas.com",
                        "age": 107497
                    },
                    "context": {}
                }
            ],
            "count": 1,
            "highlights": [
                "bonjour"
            ],
            "groups": {
                "room_id": {
                    "!rHRnSJAWJAiGrjUjfg:stg.lin-saas.com": {
                        "results": [
                            "$3-lqmsS-WL2F1Z0sy1GL1q2nhtU4C1jFdQL7tcUs0OI"
                        ]
                    }
                }
            }
        }
    }
}

Additional information

No response

@rezk2ll rezk2ll added the bug Something isn't working label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant