@ieure gotcha, makes sense; I guess I was confused between ement and matrix-client.el
it's a shame the e2ee stuff is so weird; last I looked into it there was only one working implementation other than the reference one, and it was super janky to install
(I've never used the e2ee features in matrix but I get the appeal)