TheGreenPig / Apate

A BetterDiscord Plugin that allows End-to-End encryption and hiding messages in messages!
65 stars 17 forks source link

Better text formatting and better support (threads & file upload text field) #29

Closed fabJunior closed 3 years ago

fabJunior commented 3 years ago

Instead of focusing on the main text area, we now patch the sendMessage function to cover a broader range of situations where we can hide a message, namely when there's a thread on the sidebar or when typing a message and uploading a file at the same time.

Also, instead of making our own regexes to format text (italic, bold, strike, underline, codeblock etc) we use discord's function directly, this also allows us to support emojis directly, @mentions, #channel and so on.