Also take a look at the SimpleX chat protocol. It manages to do encrypted chat in a way that doesn't even involve any kind of identifiers