mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-25 05:27:21 +00:00
Don't fetch device links at startup
This commit is contained in:
parent
70bd9350b8
commit
3a0c518eeb
@ -186,7 +186,6 @@ public class ApplicationContext extends MultiDexApplication implements Dependenc
|
|||||||
if (setUpStorageAPIIfNeeded()) {
|
if (setUpStorageAPIIfNeeded()) {
|
||||||
String userHexEncodedPublicKey = TextSecurePreferences.getLocalNumber(this);
|
String userHexEncodedPublicKey = TextSecurePreferences.getLocalNumber(this);
|
||||||
if (userHexEncodedPublicKey != null) {
|
if (userHexEncodedPublicKey != null) {
|
||||||
LokiFileServerAPI.Companion.getShared().getDeviceLinks(userHexEncodedPublicKey, true);
|
|
||||||
if (TextSecurePreferences.getNeedsIsRevokedSlaveDeviceCheck(this)) {
|
if (TextSecurePreferences.getNeedsIsRevokedSlaveDeviceCheck(this)) {
|
||||||
MultiDeviceUtilities.checkIsRevokedSlaveDevice(this);
|
MultiDeviceUtilities.checkIsRevokedSlaveDevice(this);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user