mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 02:55:23 +00:00
19 lines
421 B
Java
19 lines
421 B
Java
package org.thoughtcrime.securesms.sms;
|
|
|
|
public class IncomingEncryptedMessage extends IncomingTextMessage {
|
|
|
|
public IncomingEncryptedMessage(IncomingTextMessage base, String newBody) {
|
|
super(base, newBody);
|
|
}
|
|
|
|
@Override
|
|
public IncomingTextMessage withMessageBody(String body) {
|
|
return new IncomingEncryptedMessage(this, body);
|
|
}
|
|
|
|
@Override
|
|
public boolean isSecureMessage() {
|
|
return true;
|
|
}
|
|
}
|