Skip to content

Commit

Permalink
find attachament files
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Oct 30, 2023
1 parent a5ba5ce commit bb7eedc
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,12 @@ private void addAttachments() {
if (nFilesMap.get(jj) instanceof String && checkURL((String) nFilesMap.get(jj)))
downloadableLinks.put(ATTACH_KEY + "_" + c ++, (nFilesMap.get(jj)).toString());
}
} else if (attachments.get(kk) instanceof List) {
List <Object> nFilesList = (List<Object>) attachments.get(kk);
for (Object jj : nFilesList) {
if (jj instanceof String && checkURL((String) jj))
downloadableLinks.put(ATTACH_KEY + "_" + c ++, jj.toString());
}
}
}
}
Expand Down

0 comments on commit bb7eedc

Please sign in to comment.