session-android/src/org/thoughtcrime/securesms/sms/OutgoingIdentityVerifiedMessage.java

22 lines
488 B
Java
Raw Normal View History

package org.thoughtcrime.securesms.sms;
import org.thoughtcrime.securesms.recipients.Recipients;
public class OutgoingIdentityVerifiedMessage extends OutgoingTextMessage {
public OutgoingIdentityVerifiedMessage(Recipients recipients) {
super(recipients, "", -1);
}
@Override
public boolean isIdentityVerified() {
return true;
}
@Override
public OutgoingTextMessage withBody(String body) {
return new OutgoingIdentityVerifiedMessage(getRecipients());
}
}