Onebox showing wrong avatar?

Hm, this is strange: why does the topic I linked in this topic have my avatar? Shouldn’t it (i.e. the onebox) show the poster’s avatar?


Because you’re the last one that touched it?


Nice catch, @zogstrip since you have recently been all over this code can you have a look?

1 Like

Isn’t it because of this…


Which is caused by using the URL from the little link icon


Nope, that has nothing to do with it… that’s for tracking user badges related to sharing links.

1 Like

Turns out, we had 5 topics where “topic.user_id != topic.posts.first.user_id” and that topic was one of them.

I’m not 100% sure how this happened… I think it could be because of our “move posts to a new topic” feature that wasn’t working properly back then?


I wonder if this is bad splits of topic (eg bugs we fixed but did not add a migration to correct the historical issues)