Incorrect or failing oneboxes for links to other discourse instances

Fixed via:

https://github.com/discourse/onebox/commit/70aa8d5961b6e742c424d25fed6d4615a0d7e42b

Okay, let me try to explain.

Topic body (first post)

If the first post contains an image, onebox will show that image.

If the first post does not have any image it will fall back to default_opengraph_image_url setting (more detail here).

Topic reply (random post in a topic)

If the post contains image, onebox will show that image.

If the post does not contain any image, onebox will show user (poster) avatar.

I hope this clarifies the onebox behaviour.

Also note that this behaviour will be consistent across all the sites that uses OpenGraph tags to fetch data.


The above oneboxes also verifies that fix is working… :blush:

3 Likes