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