museun / twitchchat

interface to the irc portion of Twitch's chat
Apache License 2.0
103 stars 23 forks source link

Tags should do escaping. #207

Closed museun closed 4 years ago

museun commented 4 years ago

https://github.com/museun/twitchchat/blob/668c6146da929f4787aafa93c6fe26ec8aa08a3f/src/irc/tags.rs#L43-L48

This should either returned an escaped string, or internally unescape them.

I would think the API should unescape the strings for the user, but keep the escaped internally.