mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Add universal disappearing messages.
This commit is contained in:
committed by
Greyson Parrelli
parent
8c6a88374b
commit
defd5e8047
@@ -78,6 +78,23 @@ public class OutgoingMediaMessage {
|
||||
contacts, linkPreviews, mentions, new LinkedList<>(), new LinkedList<>());
|
||||
}
|
||||
|
||||
public OutgoingMediaMessage(OutgoingMediaMessage that, long expiresIn) {
|
||||
this(that.getRecipient(),
|
||||
that.body,
|
||||
that.attachments,
|
||||
that.sentTimeMillis,
|
||||
that.subscriptionId,
|
||||
expiresIn,
|
||||
that.viewOnce,
|
||||
that.distributionType,
|
||||
that.outgoingQuote,
|
||||
that.contacts,
|
||||
that.linkPreviews,
|
||||
that.mentions,
|
||||
that.networkFailures,
|
||||
that.identityKeyMismatches);
|
||||
}
|
||||
|
||||
public OutgoingMediaMessage(OutgoingMediaMessage that) {
|
||||
this.recipient = that.getRecipient();
|
||||
this.body = that.body;
|
||||
|
||||
Reference in New Issue
Block a user