mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 11:05:25 +00:00
20 lines
423 B
Java
20 lines
423 B
Java
|
package org.thoughtcrime.securesms.sms;
|
||
|
|
||
|
|
||
|
public class OutgoingPrekeyBundleMessage extends OutgoingTextMessage {
|
||
|
|
||
|
public OutgoingPrekeyBundleMessage(OutgoingTextMessage message, String body) {
|
||
|
super(message, body);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public boolean isPreKeyBundle() {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public OutgoingTextMessage withBody(String body) {
|
||
|
return new OutgoingPrekeyBundleMessage(this, body);
|
||
|
}
|
||
|
}
|