mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-28 20:45:17 +00:00
22 lines
488 B
Java
22 lines
488 B
Java
|
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());
|
||
|
}
|
||
|
}
|