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

Ability to search for messages from a user #12852

Closed
ara4n opened this issue Mar 24, 2020 · 1 comment
Closed

Ability to search for messages from a user #12852

ara4n opened this issue Mar 24, 2020 · 1 comment

Comments

@ara4n
Copy link
Member

ara4n commented Mar 24, 2020

I thought we had a bug for this, but I can't find this.

The API supports it already, and it even seems to work - e.g.:

curl 'https://matrix.org/_matrix/client/r0/search' -H "Authorization: Bearer $at" --data '{"search_categories":{"room_events":{"search_term":"search","filter":{"rooms":["!pcfWjiETvnVuspPLPl:mozilla.org"], "state": {"senders":["@jrmuizel:mozilla.org"]}},"order_by":"recent","event_context":{"before_limit":1,"after_limit":1,"include_profile":true}}}}'

returns all messages sent by @jrmuizel:mozilla.org in #synchronicity:mozilla.org containing term 'search'.

@t3chguy
Copy link
Member

t3chguy commented Mar 24, 2020

Duplicate of https://github.com/vector-im/riot-web/issues/4752 (which has a Community PR)

@t3chguy t3chguy closed this as completed Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants