squidowl / halloy

IRC application written in Rust
GNU General Public License v3.0
1.67k stars 65 forks source link

Refactor targets #626

Open 4e554c4c opened 3 weeks ago

4e554c4c commented 3 weeks ago

We should refactor how targets are handled throughout the codebase, and give a special type to channels which includes their STATUSMSG prefix and chantype. Some work has been done to parse targets better in #623, but more work is needed to clean up how targets are managed through the codebase.

tarkah commented 3 weeks ago

Agreed! This will also allow us to handle case mapping much easier since we will have control over how channel / nicks are constructed, which is long overdue.