Ascrod / ambassador

Fork of ChatZilla for the Unified XUL Platform.
Mozilla Public License 2.0
34 stars 7 forks source link

Create editor for away messages #14

Open Ascrod opened 6 years ago

Ascrod commented 6 years ago

Split from #5. Create an editor for awayMsgs.txt. Visually, it will probably look similar to the list editor from the prefs window. And there should be a Restore Defaults button to restore the default message, as was done with the networks editor.

Ascrod commented 6 years ago

Thinking on this a bit more, it may make more sense to migrate storage of the list from a text file to preferences. Unlike the networks list, the away message list is not complex and can be easily stored in a pref array.

It might also be worthwhile to include some sort of migration logic to read the text file into preferences and then delete the file.