session-android/src/org/thoughtcrime/securesms/mms/QuoteModel.java
Greyson Parrelli 13c72779af Visually note quotes for messages you don't have.
We will now show a small footer under quotes for messages that you
don't have locally.

Also fixes #7850
2018-08-13 18:38:59 -04:00

46 lines
1,020 B
Java

package org.thoughtcrime.securesms.mms;
import android.support.annotation.Nullable;
import org.thoughtcrime.securesms.attachments.Attachment;
import org.thoughtcrime.securesms.database.Address;
import java.util.List;
public class QuoteModel {
private final long id;
private final Address author;
private final String text;
private final boolean missing;
private final List<Attachment> attachments;
public QuoteModel(long id, Address author, String text, boolean missing, @Nullable List<Attachment> attachments) {
this.id = id;
this.author = author;
this.text = text;
this.missing = missing;
this.attachments = attachments;
}
public long getId() {
return id;
}
public Address getAuthor() {
return author;
}
public String getText() {
return text;
}
public boolean isOriginalMissing() {
return missing;
}
public List<Attachment> getAttachments() {
return attachments;
}
}