Super frustrating, why do some toots have the style applied and others not?

https://a.weirder.earth/media/aKjVGCpxHgSNMYJmV5A

@mykola mine are all back to having colours. perfect now
@bright_moon I've just realized that the way I'm doing it now only those toots that originated on our instance will get the colors. This is because I'm relying on some ruby code to make the colors work. I am going to change this next. #hackhackhack.
@mykola i'm easy going, just thought i'd feedback that you seemed to have sorted it.
it's frustrating trying to get stuff to work.