Skip to content

Commit

Permalink
sepinf-inc#2286 - ufed chat adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
aberenguel committed Oct 9, 2024
1 parent 7911646 commit 27562d4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private String formatLocation(Message message) {
String city = localization.getCity();
String state = localization.getState();
String country = localization.getCountry();
String compliment = Arrays.asList(city, state, country).stream().filter(StringUtils::isNotBlank).collect(Collectors.joining(" - "));
String complement = Arrays.asList(city, state, country).stream().filter(StringUtils::isNotBlank).collect(Collectors.joining(" - "));

if (isNotBlank(name)) {
div.with(span(name), br());
Expand All @@ -102,8 +102,8 @@ private String formatLocation(Message message) {
}
div.with(span(fullStreet), br());
}
if (isNotBlank(compliment)) {
div.with(span(compliment), br());
if (isNotBlank(complement)) {
div.with(span(complement), br());
}
if (isNotBlank(description)) {
div.with(span(description), br());
Expand Down Expand Up @@ -532,7 +532,7 @@ private static void printMessageFileHeader(PrintWriter out, String chatName, Str
+ "   "); //$NON-NLS-1$
if (avatar != null)
out.println("<img src=\"data:image/jpg;base64," + Util.encodeBase64(avatar) //$NON-NLS-1$
+ "\" width=\"40\" height=\"40\"/>"); //$NON-NLS-1$
+ "\" width=\"72\" height=\"72\"/>"); //$NON-NLS-1$
out.println(format(chatName) + "</span>\n" //$NON-NLS-1$
+ "</div>\n" //$NON-NLS-1$
+ "<div id=\"conversation\">\n" //$NON-NLS-1$
Expand Down

0 comments on commit 27562d4

Please sign in to comment.