mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-28 12:35:17 +00:00
1bbcedabd4
1) Added SMS transport support. 2) Keep track of whether a PreKeyBundle message has gotten a response, and send them as subsequent messages until one has been received.
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);
|
|
}
|
|
}
|