And scanning end-to-end encrypted is only possible on-device.
And of course the next step is that the EU will mandate that every device needs to implement this scanning, they are very aggressive with this stuff. Framework phone won't help you in this case, this is obviously the next step. That's why we have to fight against it. Reminder that soon online age verification with an app that can only be downloaded from the Play Store and used within a "trusted environment" (e.g. SafetyNet) will be mandatory.