2016-08-16 03:23:56 +00:00
|
|
|
package org.thoughtcrime.securesms.mms;
|
|
|
|
|
|
|
|
import org.thoughtcrime.securesms.attachments.Attachment;
|
|
|
|
import org.thoughtcrime.securesms.database.ThreadDatabase;
|
2017-08-01 15:56:00 +00:00
|
|
|
import org.thoughtcrime.securesms.recipients.Recipient;
|
2016-08-16 03:23:56 +00:00
|
|
|
|
|
|
|
import java.util.LinkedList;
|
|
|
|
|
|
|
|
public class OutgoingExpirationUpdateMessage extends OutgoingSecureMediaMessage {
|
|
|
|
|
2017-08-01 15:56:00 +00:00
|
|
|
public OutgoingExpirationUpdateMessage(Recipient recipient, long sentTimeMillis, long expiresIn) {
|
|
|
|
super(recipient, "", new LinkedList<Attachment>(), sentTimeMillis,
|
2016-08-16 03:23:56 +00:00
|
|
|
ThreadDatabase.DistributionTypes.CONVERSATION, expiresIn);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isExpirationUpdate() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|