Rename LokiPreKeyBundleImpl → LokiPreKeyBundleStore

This commit is contained in:
Niels Andriesse 2019-06-05 10:10:33 +10:00
parent eb323e119b
commit 52631bcbf2
2 changed files with 4 additions and 3 deletions

View File

@ -41,7 +41,7 @@ import org.thoughtcrime.securesms.jobs.RotateCertificateJob;
import org.thoughtcrime.securesms.jobs.RotateSignedPreKeyJob;
import org.thoughtcrime.securesms.jobs.SendDeliveryReceiptJob;
import org.thoughtcrime.securesms.jobs.SendReadReceiptJob;
import org.thoughtcrime.securesms.loki.LokiPreKeyBundleStoreImpl;
import org.thoughtcrime.securesms.loki.LokiPreKeyBundleStore;
import org.thoughtcrime.securesms.preferences.AppProtectionPreferenceFragment;
import org.thoughtcrime.securesms.push.SecurityEventListener;
import org.thoughtcrime.securesms.push.SignalServiceNetworkAccess;
@ -138,7 +138,7 @@ public class SignalCommunicationModule {
// LOKI - Set the prekey bundle store
// This is something that we MUST have otherwise our loki logic will fail
this.messageSender.setPreKeyBundleStore(new LokiPreKeyBundleStoreImpl(context));
this.messageSender.setPreKeyBundleStore(new LokiPreKeyBundleStore(context));
} else {
this.messageSender.setMessagePipe(IncomingMessageObserver.getPipe(), IncomingMessageObserver.getUnidentifiedPipe());
this.messageSender.setIsMultiDevice(TextSecurePreferences.isMultiDevice(context));

View File

@ -5,7 +5,8 @@ import org.thoughtcrime.securesms.database.DatabaseFactory
import org.whispersystems.libsignal.state.PreKeyBundle
import org.whispersystems.signalservice.loki.utilities.LokiPreKeyBundleStore
class LokiPreKeyBundleStoreImpl(val context: Context): LokiPreKeyBundleStore {
class LokiPreKeyBundleStore(val context: Context) : LokiPreKeyBundleStoreProtocol {
companion object {
val FILE_LOCK = Object()
}