mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 02:55:23 +00:00
375207f073
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
22 lines
650 B
Java
22 lines
650 B
Java
package org.thoughtcrime.securesms.mms;
|
|
|
|
import org.thoughtcrime.securesms.attachments.Attachment;
|
|
import org.thoughtcrime.securesms.database.ThreadDatabase;
|
|
import org.thoughtcrime.securesms.recipients.Recipient;
|
|
|
|
import java.util.LinkedList;
|
|
|
|
public class OutgoingExpirationUpdateMessage extends OutgoingSecureMediaMessage {
|
|
|
|
public OutgoingExpirationUpdateMessage(Recipient recipient, long sentTimeMillis, long expiresIn) {
|
|
super(recipient, "", new LinkedList<Attachment>(), sentTimeMillis,
|
|
ThreadDatabase.DistributionTypes.CONVERSATION, expiresIn);
|
|
}
|
|
|
|
@Override
|
|
public boolean isExpirationUpdate() {
|
|
return true;
|
|
}
|
|
|
|
}
|