fixed mail plugin being broken

This commit is contained in:
Kevin Froman 2019-09-22 14:22:35 -05:00
parent 0d4ab54ceb
commit 6322306273
2 changed files with 3 additions and 5 deletions

View File

@ -17,7 +17,7 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
''' '''
import onionrblockapi from onionrblocks import onionrblockapi
from coredb import blockmetadb from coredb import blockmetadb
import filepaths import filepaths
from utils import reconstructhash, identifyhome from utils import reconstructhash, identifyhome

View File

@ -146,9 +146,6 @@ function deleteMessage(bHash){
headers: { headers: {
"token": webpass "token": webpass
}}) }})
.then((resp) => resp.text())
.then(function(resp) {
})
} }
function mailPing(){ function mailPing(){
@ -204,10 +201,11 @@ function loadInboxEntries(bHash){
entry.setAttribute('data-nameSet', false) entry.setAttribute('data-nameSet', false)
} }
else{ else{
resp2 => resp2.text() resp2.text().then(function(resp2){
loadHumanReadableToCache(resp['meta']['signer']) loadHumanReadableToCache(resp['meta']['signer'])
senderInput.value = resp2 senderInput.value = resp2
entry.setAttribute('data-nameSet', true) entry.setAttribute('data-nameSet', true)
})
} }
}) })