mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-06 06:00:38 +00:00
Add null check and change some formatting
This commit is contained in:
parent
58db3cbd53
commit
67f62947c6
5 changed files with 28 additions and 41 deletions
|
@ -13,8 +13,7 @@ public class JsonQuotedAttachment {
|
|||
filename = quotedAttachment.getFileName();
|
||||
if (quotedAttachment.getThumbnail() != null) {
|
||||
thumbnail = new JsonAttachment(quotedAttachment.getThumbnail());
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
thumbnail = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue