v0.6.2 Bugfix: download and upload public images, comments in timeline

This commit is contained in:
LubuWest 2021-08-11 20:06:17 +02:00
commit d09a55bcd9
14 changed files with 200 additions and 145 deletions

View file

@ -40,7 +40,8 @@ function friendicaRequest(login,api,rootwindow,callback) {
if (xhrequest.status==200){
callback(xhrequest.responseText)
}else{
showMessage("Error","API:\n" +login.server+api+"\n NO RESPONSE"+xhrequest.statusText,rootwindow);
callback(xhrequest.responseText)
//showMessage("Error","API:\n" +login.server+api+"\n NO RESPONSE"+xhrequest.statusText,rootwindow);
}
}
catch (e){
@ -60,7 +61,7 @@ function friendicaPostRequest(login,api,data,method,rootwindow,callback) {
} else if(xhrequest.readyState === XMLHttpRequest.DONE) {
try{ if (xhrequest.responseText!=""){
callback(xhrequest.responseText)
}else{print("API:\n" +api+" NO RESPONSE");
}else{//print("API:\n" +api+" NO RESPONSE");
showMessage("Error","API:\n" +api+" NO RESPONSE",rootwindow)
callback(xhrequest.responseText)
}