I noticed that for one of my repositories (this one) I did not get a onebox URL preview in Discourse.
At first it did not have its own avatar image set, so I think it should then default to the avatar of its organization, am I right? I looked in the html source and it had:
<meta property="og:image" content="https://codeberg.org/user/avatar/innercircles/-1" />
The other OpenGraph meta looked good.
So I uploaded an avatar image, saved and looked at the html again. There was no change. So then I set an avatar from a different project, saved again, and this time the OpenGraph image was set correctly.
Thinking there might be something wrong with the first PNG image, I set that again as the avatar.. but this just worked. There was nothing wrong with the image. Right now I can’t reproduce getting the
-1 in the URL anymore, but looks like there may be a bug somewhere at play.