mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-31 09:56:10 +00:00
Add support for SN verification
// FREEBIE
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user