This is on our roadmap, but on accidental self-removal there are two ways to get it back in the meantime:
- have someone else send a new message in the chat that included the person that removed themselves (this will make it reappear for the person that removed themselves)
- the person that removed themselves can create a new chat with the same participants (it will open the one they removed themselves from)