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

Support arbitrary tag on event to suggest not showing link previews on that event? #975

Closed
turt2live opened this issue Aug 22, 2017 · 3 comments

Comments

@turt2live
Copy link
Member

turt2live commented Aug 22, 2017

Ideally used by bots who spit out enough context around the link to not need a preview. Clients could obviously ignore this, but it could also respect the hint. Example structure:

{
   "msgtype": "m.notice",
   "text": "Hello world! Here's a link to Google: https://google.ca",
   "url_preview_hint": "hide"
}
@turt2live
Copy link
Member Author

This might actually be more of a riot-web issue, but having a spec for these kinds of things would also be neat.

@t3chguy
Copy link
Member

t3chguy commented Aug 28, 2017

Duplicate of matrix-org/matrix-spec#221

@t3chguy
Copy link
Member

t3chguy commented Aug 28, 2017

Fankx Travis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants