mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
Allow source selection for sending SMS/MMS, and display the SIM that received SMS/MMS. Fixes #555 Closes #5199 // FREEBIE
31 lines
827 B
Java
31 lines
827 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)
|
|
{
|
|
super(recipients, body, attachments, sentTimeMillis, -1, distributionType);
|
|
}
|
|
|
|
public OutgoingSecureMediaMessage(OutgoingMediaMessage base) {
|
|
super(base);
|
|
}
|
|
|
|
@Override
|
|
public boolean isSecure() {
|
|
return true;
|
|
}
|
|
}
|