SwiftcordApp / Swiftcord

A fully native Discord client for macOS built 100% in Swift!
https://swiftcordapp.github.io/Swiftcord/
GNU General Public License v3.0
1.85k stars 84 forks source link

Improve unread behavior #162

Open 12944qwerty opened 1 year ago

12944qwerty commented 1 year ago

Improves the color on the channel items when unread and resets unread when you send a message.

cryptoAlgorithm commented 1 year ago

Thanks for the contribution. I'd think that in addition to updating the unread state in the cache, calling the "ack" endpoint to update it with Discord would also be a good idea. I'd have to add the endpoint into DiscordKit before this can be implemented though, so I'll be keeping this open for now.