Signal messages retrieved from iOS notification, as seen in Prairieland federal trial
(discuss.privacyguides.net)
There's Matrix which is selfhostable but "good" is pushing it and the cryptography is a bit iffy (probably more incompetence than malice). Though selfhosting it means you don't need the end to end encryption quite as much... until the court gets involved of course.
-- Frost