Onebox showing wrong avatar?

(Christoph) #1

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?

(Mittineague) #2

Because you’re the last one that touched it?

(Sam Saffron) #3

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

(Vaping Community) #4

Isn’t it because of this…


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


(Jeff Atwood) #5

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

(Régis Hanol) #6

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?

(Jeff Atwood) #7

(Sam Saffron) #8

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