mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-28 12:35:17 +00:00
25 lines
592 B
Java
25 lines
592 B
Java
package org.thoughtcrime.securesms.sms;
|
|
|
|
import org.thoughtcrime.securesms.recipients.Recipients;
|
|
|
|
public class OutgoingKeyExchangeMessage extends OutgoingTextMessage {
|
|
|
|
public OutgoingKeyExchangeMessage(Recipients recipients, String message) {
|
|
super(recipients, message);
|
|
}
|
|
|
|
private OutgoingKeyExchangeMessage(OutgoingKeyExchangeMessage base, String body) {
|
|
super(base, body);
|
|
}
|
|
|
|
@Override
|
|
public boolean isKeyExchange() {
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public OutgoingTextMessage withBody(String body) {
|
|
return new OutgoingKeyExchangeMessage(this, body);
|
|
}
|
|
}
|