Skip to content

Commit

Permalink
'#1859 removes debug helper code.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdalla committed Nov 13, 2023
1 parent df40d35 commit 659c05c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public void printHTML(List<DiscordRoot> drl, XHTMLContentHandler xHandler, IItem
xHandler.startElement("TABLE class='title'");
xHandler.startElement("TR");
xHandler.startElement("TD");

if (dr.getAuthor().getAvatarBytes() == null) {
String avatar = dr.getAuthor().getAvatar();
if (avatar == null || avatar.trim().equals("")) {
Expand Down Expand Up @@ -394,9 +395,6 @@ public byte[] convertToHTML(List<DiscordRoot> drl, IItemSearcher searcher,
out.println(" <TABLE class='title'>");
out.println(" <TR>");
out.println(" <TD>");
if (dr.getAuthor().getFullUsername().toLowerCase().contains("goiaba")) {
System.out.println();
}
if (dr.getAuthor().getAvatarBytes() == null) {
out.println(" <img src='https://cdn.discordapp.com/avatars/" + format(dr.getAuthor().getId()) + "/" + format(dr.getAuthor().getAvatar()) + ".png' alt='' width='50' height='50'>");
} else {
Expand Down

0 comments on commit 659c05c

Please sign in to comment.