2017-06-07 01:03:09 +00:00
|
|
|
package org.thoughtcrime.securesms.sms;
|
|
|
|
|
|
|
|
|
|
|
|
import org.thoughtcrime.securesms.recipients.Recipients;
|
|
|
|
|
|
|
|
public class OutgoingIdentityVerifiedMessage extends OutgoingTextMessage {
|
|
|
|
|
|
|
|
public OutgoingIdentityVerifiedMessage(Recipients recipients) {
|
2017-06-14 16:45:38 +00:00
|
|
|
this(recipients, "");
|
|
|
|
}
|
|
|
|
|
|
|
|
private OutgoingIdentityVerifiedMessage(Recipients recipients, String body) {
|
|
|
|
super(recipients, body, -1);
|
2017-06-07 01:03:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isIdentityVerified() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public OutgoingTextMessage withBody(String body) {
|
2017-06-14 16:45:38 +00:00
|
|
|
return new OutgoingIdentityVerifiedMessage(getRecipients(), body);
|
2017-06-07 01:03:09 +00:00
|
|
|
}
|
|
|
|
}
|