Browse Source

Include myID in the StartupComplete event

Nice to have...
Jakob Borg 10 years ago
parent
commit
82c3e6f87f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      cmd/syncthing/main.go

+ 3 - 1
cmd/syncthing/main.go

@@ -704,7 +704,9 @@ func syncthingMain() {
 		}
 	}
 
-	events.Default.Log(events.StartupComplete, nil)
+	events.Default.Log(events.StartupComplete, map[string]string{
+		"myID": myID.String(),
+	})
 	go generatePingEvents()
 
 	cleanConfigDirectory()