mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-04-28 20:19:35 +00:00
Update to 5.15.0 (1864)
This commit is contained in:
parent
7d6fa267c1
commit
2eafc07314
145 changed files with 9119 additions and 2468 deletions
|
|
@ -48,6 +48,9 @@ public class UserConfig extends BaseController {
|
|||
public int migrateOffsetChannelId = -1;
|
||||
public long migrateOffsetAccess = -1;
|
||||
|
||||
public int sharingMyLocationUntil;
|
||||
public int lastMyLocationShareTime;
|
||||
|
||||
public boolean notificationsSettingsLoaded;
|
||||
public boolean notificationsSignUpSettingsLoaded;
|
||||
public boolean syncContacts = true;
|
||||
|
|
@ -142,6 +145,8 @@ public class UserConfig extends BaseController {
|
|||
editor.putBoolean("notificationsSignUpSettingsLoaded", notificationsSignUpSettingsLoaded);
|
||||
editor.putLong("autoDownloadConfigLoadTime", autoDownloadConfigLoadTime);
|
||||
editor.putBoolean("hasValidDialogLoadIds", hasValidDialogLoadIds);
|
||||
editor.putInt("sharingMyLocationUntil", sharingMyLocationUntil);
|
||||
editor.putInt("lastMyLocationShareTime", lastMyLocationShareTime);
|
||||
if (tonEncryptedData != null) {
|
||||
editor.putString("tonEncryptedData", tonEncryptedData);
|
||||
editor.putString("tonPublicKey", tonPublicKey);
|
||||
|
|
@ -296,6 +301,8 @@ public class UserConfig extends BaseController {
|
|||
tonPublicKey = preferences.getString("tonPublicKey", null);
|
||||
tonKeyName = preferences.getString("tonKeyName", "walletKey" + currentAccount);
|
||||
tonCreationFinished = preferences.getBoolean("tonCreationFinished", true);
|
||||
sharingMyLocationUntil = preferences.getInt("sharingMyLocationUntil", 0);
|
||||
lastMyLocationShareTime = preferences.getInt("lastMyLocationShareTime", 0);
|
||||
String salt = preferences.getString("tonPasscodeSalt", null);
|
||||
if (salt != null) {
|
||||
try {
|
||||
|
|
@ -443,6 +450,8 @@ public class UserConfig extends BaseController {
|
|||
getPreferences().edit().clear().commit();
|
||||
clearTonConfig();
|
||||
|
||||
sharingMyLocationUntil = 0;
|
||||
lastMyLocationShareTime = 0;
|
||||
currentUser = null;
|
||||
clientUserId = 0;
|
||||
registeredForPush = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue