Merge pull request #245 from garrettr/wait-for-ephemeral-hs

Revert to using wait_for_hs for ephemeral HS
This commit is contained in:
Micah Lee 2016-01-05 18:37:44 -08:00
commit 4c40b89faf
3 changed files with 6 additions and 8 deletions

View file

@ -168,9 +168,8 @@ class OnionShareGui(QtGui.QWidget):
# wait for hs
if not self.app.local_only:
if not self.app.hs.supports_ephemeral:
self.status_bar.showMessage(strings._('gui_starting_server3', True))
self.app.hs.wait_for_hs(self.app.onion_host)
self.status_bar.showMessage(strings._('gui_starting_server3', True))
self.app.hs.wait_for_hs(self.app.onion_host)
# done
self.start_server_finished.emit()