session-android/src/org/thoughtcrime/securesms/mms/OutgoingSecureMediaMessage.java
Moxie Marlinspike d7e4928f22 Support for disappearing messages
// FREEBIE
2016-08-28 17:03:23 -07:00

32 lines
890 B
Java

package org.thoughtcrime.securesms.mms;
import android.content.Context;
import org.thoughtcrime.securesms.attachments.Attachment;
import org.thoughtcrime.securesms.recipients.Recipients;
import java.util.List;
import ws.com.google.android.mms.pdu.PduBody;
public class OutgoingSecureMediaMessage extends OutgoingMediaMessage {
public OutgoingSecureMediaMessage(Recipients recipients, String body,
List<Attachment> attachments,
long sentTimeMillis,
int distributionType,
long expiresIn)
{
super(recipients, body, attachments, sentTimeMillis, -1, expiresIn, distributionType);
}
public OutgoingSecureMediaMessage(OutgoingMediaMessage base) {
super(base);
}
@Override
public boolean isSecure() {
return true;
}
}