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?

5 Likes

Because you’re the last one that touched it?

3 Likes

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…

?u-tophee

https://meta.discourse.org/t/new-users-arent-starting-the-discobot-tutorial/62995?u=tophee

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

Fixed?

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?

6 Likes

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