Talk about installation and --dry-run
[shpub.git] / src / shpub / Config / Host.php
index 51d0ff59650a770a4d1f9c38283809549ff401ba..f3214e29f8aea0da558b15d4ea2c074bd5798189 100644 (file)
@@ -49,6 +49,9 @@ class Config_Host
         $this->endpoints->load($this->server);
         if ($this->endpoints->incomplete()) {
             $this->endpoints->discover($this->server);
+            if ($this->token) {
+                $this->endpoints->discoverMedia($this->token);
+            }
             $this->endpoints->save($this->server);
         }
     }