summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/msgstore.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/msgstore.go b/lib/msgstore.go
index 45a9fb6..09cf31f 100644
--- a/lib/msgstore.go
+++ b/lib/msgstore.go
@@ -132,9 +132,7 @@ func (store *MessageStore) Update(msg types.WorkerMessage) {
 	switch msg := msg.(type) {
 	case *types.DirectoryInfo:
 		store.DirInfo = *msg
-		if store.DirInfo.Exists != len(store.Uids) {
-			store.worker.PostAction(&types.FetchDirectoryContents{}, nil)
-		}
+		store.worker.PostAction(&types.FetchDirectoryContents{}, nil)
 		update = true
 	case *types.DirectoryContents:
 		newMap := make(map[uint32]*types.MessageInfo)