You asked if it was a factory weld or a repair.
My answer is it's neither. It's a bodge. It may have lasted, but it is still shoddy work of the lowest order.
You've asked for an opinion. I've given mine for free. You may not like it, and if so, I give a full money back guarantee. HTH.