diff --git a/src/org/thoughtcrime/securesms/loki/KeyPairActivity.kt b/src/org/thoughtcrime/securesms/loki/KeyPairActivity.kt index 0e1181e67c..8c27232126 100644 --- a/src/org/thoughtcrime/securesms/loki/KeyPairActivity.kt +++ b/src/org/thoughtcrime/securesms/loki/KeyPairActivity.kt @@ -22,7 +22,6 @@ import org.whispersystems.signalservice.loki.utilities.hexEncodedPublicKey import java.io.File import java.io.FileOutputStream - class KeyPairActivity : BaseActionBarActivity() { private lateinit var languageFileDirectory: File private var keyPair: IdentityKeyPair? = null diff --git a/src/org/thoughtcrime/securesms/sms/OutgoingTextMessage.java b/src/org/thoughtcrime/securesms/sms/OutgoingTextMessage.java index 541f05510e..f484f076db 100644 --- a/src/org/thoughtcrime/securesms/sms/OutgoingTextMessage.java +++ b/src/org/thoughtcrime/securesms/sms/OutgoingTextMessage.java @@ -9,7 +9,7 @@ public class OutgoingTextMessage { private final String message; private final int subscriptionId; private final long expiresIn; - private boolean isFriendRequest = false; + boolean isFriendRequest = false; public OutgoingTextMessage(Recipient recipient, String message, int subscriptionId) { this(recipient, message, 0, subscriptionId); @@ -69,9 +69,6 @@ public class OutgoingTextMessage { return false; } - public boolean isFriendRequest() { return isFriendRequest; } - public void setIsFriendRequest(boolean value) { this.isFriendRequest = value; } - public static OutgoingTextMessage from(SmsMessageRecord record) { if (record.isSecure()) { return new OutgoingEncryptedMessage(record.getRecipient(), record.getBody(), record.getExpiresIn());