Skip to content
This repository was archived by the owner on Jan 27, 2020. It is now read-only.

Commit df7bbb9

Browse files
authored
Merge pull request #155 from imsodin/event
Adjust to new event API (fixes #154)
2 parents 7fa73ad + cbbed6f commit df7bbb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syncwatcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ func watchSTEvents(stChans map[string]chan STEvent, folders []FolderConfiguratio
933933
time.Sleep(configSyncTimeout)
934934
continue
935935
}
936-
if events == nil {
936+
if len(events) == 0 {
937937
continue
938938
}
939939
for _, event := range events {

0 commit comments

Comments
 (0)