mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Rename LokiPreKeyBundleImpl → LokiPreKeyBundleStore
This commit is contained in:
parent
eb323e119b
commit
52631bcbf2
@ -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));
|
||||
|
@ -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()
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user