fixes for mail, work on specs, and added files for profile viewer

This commit is contained in:
Kevin Froman 2019-04-09 12:35:40 -05:00
parent 81cfc64658
commit fb15061ff7
2 changed files with 2 additions and 2 deletions

View File

@ -621,7 +621,7 @@ class OnionrCommunicatorDaemon:
def detectAPICrash(self): def detectAPICrash(self):
'''exit if the api server crashes/stops''' '''exit if the api server crashes/stops'''
if self._core._utils.localCommand('ping', silent=False) not in ('pong', 'pong!'): if self._core._utils.localCommand('ping', silent=False) not in ('pong', 'pong!'):
for i in range(8): for i in range(12):
if self._core._utils.localCommand('ping') in ('pong', 'pong!') or self.shutdown: if self._core._utils.localCommand('ping') in ('pong', 'pong!') or self.shutdown:
break # break for loop break # break for loop
time.sleep(1) time.sleep(1)

View File

@ -264,7 +264,7 @@ function getSentbox(){
e.target.parentNode.parentNode.removeChild(e.target.parentNode) e.target.parentNode.parentNode.removeChild(e.target.parentNode)
return return
} }
showSentboxWindow() showSentboxWindow(resp[i]['peer'], message)
} }
})(i, resp) })(i, resp)
threadPart.appendChild(entry) threadPart.appendChild(entry)