This teaches MkUrlPreview
to use the activityPub
element returned by Summaly. If it's present, we fetch whatever it points to, and if it's a note, we show it as if it were a normal quoted note.
A note containing such a URL ends up looking like this:
A note containing the same URL, but also actually quoting the note, only shows the real quote, not the preview-quote, because we're already filtering such duplicate URLs.
Of course if a note is a quote-renote and contains a URL to another note, we'll show both:
If we decide this is a bad idea, we could do <MkUrlPreview … :showAsQuote="!appearNote.renote"
A note containing a link to an AP object that's not a note looks normal:
By submitting this merge request, you agree to follow our Contribution Guidelines
Status | Pipeline | Created by | Stages | Actions |
---|---|---|---|---|
Passed 00:09:47
| Stage: test |
Download artifacts
No artifacts found | ||
Failed 00:09:13
| Stage: test |
Download artifacts
No artifacts found | ||
Passed 00:25:42
| Stage: test |
Download artifacts
No artifacts found | ||
Passed 00:09:36
| Stage: test |
Download artifacts
No artifacts found |