Merge remote-tracking branch 'upstream/main'

This commit is contained in:
adbenitez
2025-05-19 12:56:38 +02:00
+3 -2
View File
@@ -143,11 +143,12 @@ public class DcMsg {
public native byte[] getWebxdcBlob (String filename);
public JSONObject getWebxdcInfo () {
try {
return new JSONObject(getWebxdcInfoJson());
String json = getWebxdcInfoJson();
if (json != null && !json.isEmpty()) return new JSONObject(json);
} catch(Exception e) {
e.printStackTrace();
return new JSONObject();
}
return new JSONObject();
}
public native String getWebxdcHref ();
public native boolean isForwarded ();