mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 12:30:39 +00:00
Fixed typo
This commit is contained in:
parent
ee2848db23
commit
9b393ce14d
1 changed files with 2 additions and 2 deletions
|
@ -4,12 +4,12 @@ import org.whispersystems.signalservice.api.messages.SignalServiceDataMessage;
|
||||||
|
|
||||||
public class JsonQuotedAttachment {
|
public class JsonQuotedAttachment {
|
||||||
|
|
||||||
String contextType;
|
String contentType;
|
||||||
String filename;
|
String filename;
|
||||||
JsonAttachment thumbnail;
|
JsonAttachment thumbnail;
|
||||||
|
|
||||||
JsonQuotedAttachment(SignalServiceDataMessage.Quote.QuotedAttachment quotedAttachment) {
|
JsonQuotedAttachment(SignalServiceDataMessage.Quote.QuotedAttachment quotedAttachment) {
|
||||||
contextType = quotedAttachment.getContentType();
|
contentType = quotedAttachment.getContentType();
|
||||||
filename = quotedAttachment.getFileName();
|
filename = quotedAttachment.getFileName();
|
||||||
if (quotedAttachment.getThumbnail() != null) {
|
if (quotedAttachment.getThumbnail() != null) {
|
||||||
thumbnail = new JsonAttachment(quotedAttachment.getThumbnail());
|
thumbnail = new JsonAttachment(quotedAttachment.getThumbnail());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue