diamondburned / dissent

Tiny native Discord app
https://flathub.org/apps/details/so.libdb.dissent
GNU General Public License v3.0
1.23k stars 39 forks source link

Fix persistent disk activity when typing message #190

Open tfuxu opened 9 months ago

tfuxu commented 9 months ago

This fixes a bug in input persist (or draft message) function of the message composer.

Before, when user typed a letter into composer, the contents of the text field were copied each time to configuration. Now, this is done only when composer is unrealized (i.e. when user switches channels, or closes gtkcord).

Fixes #187

diamondburned commented 9 months ago

Can we also apply a cooldown for the autosave? I rely on this feature quite a lot, and it's really useful for crashes, since the saving is always reliable.

tfuxu commented 9 months ago

Can we also apply a cooldown for the autosave?

Sure, but I don't know how to implement that

diamondburned commented 8 months ago

I think it would be best if this is done as a toggleable option instead.