Update:
so on Friday 13th of may, me and this certain employee got into another argument, which lead to the Tech Lead, standing over me while I was seated, indicating that he was going to punch me and telling me in front of everyone including management that "I am going to fu***** punch you in your face", all management did was to give him a written warning, please help me, I don't know what to do. I'm tired of going to work in a company which clearly does not care about my well being.
I have been working for a start-up which is struggling to make any revenue for the past 9 months and since a month ago a Lead Developer has joined our team on a much higher salary.
Due to communication problems the lead and I do not get along and today I was told by the CTO that we should make it work by trying to get along otherwise he will be forced to make a decision regarding which one of us should stay in the company.
My question is this, since this has not been an issue since the start of my employment and the problem has risen since the new lead developer has joined would it be legally ok for my employer to let me go (fire me) on that basis alone? My presumption is that they will get rid of me in favour of the more senior developer just based on the fact that he has more experience and he would be more valuable to the business.
I am not the only employee that had joined before the Lead, we are a team of four, with three of us joining before the particular lead, one architect and another lead and me have been in the company before this lead
There are no pay-offs mentioned in my contract but I passed my probation 6 months ago and it just does not feel like a valid reason for an employer to pick and choose who they will keep and fire based on strategic reasons for example in my case knowing that the company is tight on budget and have struggled in the past to hire people will probably decide to keep the lead developer and fire me to both save on budget and keep the more senior dev in the company.