Even if they release their server side source code how can you ensure that the deployed version matches the source ? Eventually there is always a thread of trust.
The point however is that the government of India is forcing private corporations to break privacy related measures to suppress civil liberties.
You could host software yourself and communicate within your circle only.
It seems like this may be the future - someone just has to make it easy for people to create groups that will deploy the server and generate the app.
But that would be a matter of time when governments will start to regulate hosting providers and e.g. banning hosting of communication servers.