mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-28 04:25:18 +00:00
24 lines
746 B
Java
24 lines
746 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.Collections;
|
|
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, null, Collections.emptyList(),
|
|
Collections.emptyList());
|
|
}
|
|
|
|
@Override
|
|
public boolean isExpirationUpdate() {
|
|
return true;
|
|
}
|
|
|
|
}
|