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