gui: Add one-off notifications that need to be acked

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3254
This commit is contained in:
Audrius Butkevicius
2016-08-02 08:07:30 +00:00
committed by Jakob Borg
parent a8cd9d0154
commit 08b5a7908f
6 changed files with 47 additions and 0 deletions

View File

@@ -176,6 +176,9 @@ func (cfg *Configuration) prepare(myID protocol.DeviceID) error {
if cfg.Options.AlwaysLocalNets == nil {
cfg.Options.AlwaysLocalNets = []string{}
}
if cfg.Options.UnackedNotificationIDs == nil {
cfg.Options.UnackedNotificationIDs = []string{}
}
// Prepare folders and check for duplicates. Duplicates are bad and
// dangerous, can't currently be resolved in the GUI, and shouldn't