package org.thoughtcrime.securesms.sms; public class IncomingEncryptedMessage extends IncomingTextMessage { 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; } }