mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-08-26 08:03:59 +01:00
Eliminate the concept of 'Recipients' (plural). There is now just a 'Recipient', which contains an Address that is either an individual or a group ID. MMS groups now exist as part of the group database, just like push groups. // FREEBIE
28 lines
806 B
Java
28 lines
806 B
Java
package org.thoughtcrime.securesms.mms;
|
|
|
|
import org.thoughtcrime.securesms.attachments.Attachment;
|
|
import org.thoughtcrime.securesms.recipients.Recipient;
|
|
|
|
import java.util.List;
|
|
|
|
public class OutgoingSecureMediaMessage extends OutgoingMediaMessage {
|
|
|
|
public OutgoingSecureMediaMessage(Recipient recipient, String body,
|
|
List<Attachment> attachments,
|
|
long sentTimeMillis,
|
|
int distributionType,
|
|
long expiresIn)
|
|
{
|
|
super(recipient, body, attachments, sentTimeMillis, -1, expiresIn, distributionType);
|
|
}
|
|
|
|
public OutgoingSecureMediaMessage(OutgoingMediaMessage base) {
|
|
super(base);
|
|
}
|
|
|
|
@Override
|
|
public boolean isSecure() {
|
|
return true;
|
|
}
|
|
}
|