Selfhosting Matrix might be a solution if this passes. The surveillance is to be installed at the app level, imposed on the distributing companies (say, the Signal front-end), this is not a ban on. But if you're booting up your own application, it might at the very least be a legal grey area whether or not you need to implement chat control, so you could just not and the data will still be E2EE in travel for now. Eas…
It's not a solution if it passes with "Client-side scanning". Basically a AI bot watching your screen all day. You're gonna need a whole secure deviant device.
It is client side scanning embedded in the apps themselves. Each app will have to deploy their own mechanism to intercept the messages. This is not (yet) an OS level scan so there is no AI bot watching your moves on your device yet. Furthermore the AI part will run on their own servers, not on the device.
Precisely, the way it has been described, is when you hit the send button, it will the send the message in clear text to the authorities and then send the encrypted message to the recipient, hence the stupid narrative from the proponents of Chat control that it does not break encryption because it was never encrypted in the first place.