This is a privacy nightmare. Maybe its a cool project to think for OP, but these are real chats of people and the whole idea of E2E encryption & private nature of information is defeated the moment one indulges in such a webapp. There is no guarantee how much PII is retained on the server.
Edit: Looking at all the green accounts praising the post, I think @dang should check if these involve a voting ring.