2014-02-19 21:06:54 -08:00
|
|
|
package org.thoughtcrime.securesms.mms;
|
|
|
|
|
|
|
|
import android.content.Context;
|
|
|
|
|
2015-10-12 18:25:05 -07:00
|
|
|
import org.thoughtcrime.securesms.attachments.Attachment;
|
2014-02-19 21:06:54 -08:00
|
|
|
import org.thoughtcrime.securesms.recipients.Recipients;
|
|
|
|
|
2015-10-12 18:25:05 -07:00
|
|
|
import java.util.List;
|
|
|
|
|
2014-02-19 21:06:54 -08:00
|
|
|
import ws.com.google.android.mms.pdu.PduBody;
|
|
|
|
|
|
|
|
public class OutgoingSecureMediaMessage extends OutgoingMediaMessage {
|
|
|
|
|
2015-10-12 18:25:05 -07:00
|
|
|
public OutgoingSecureMediaMessage(Recipients recipients, String body,
|
|
|
|
List<Attachment> attachments,
|
|
|
|
long sentTimeMillis,
|
2016-08-15 20:23:56 -07:00
|
|
|
int distributionType,
|
|
|
|
long expiresIn)
|
2014-02-19 21:06:54 -08:00
|
|
|
{
|
2016-08-15 20:23:56 -07:00
|
|
|
super(recipients, body, attachments, sentTimeMillis, -1, expiresIn, distributionType);
|
2014-02-19 21:06:54 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
public OutgoingSecureMediaMessage(OutgoingMediaMessage base) {
|
|
|
|
super(base);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isSecure() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|