diff --git a/TMessagesProj/src/main/java/org/telegram/messenger/MessagesController.java b/TMessagesProj/src/main/java/org/telegram/messenger/MessagesController.java index d23f05417..6a59b6a0d 100644 --- a/TMessagesProj/src/main/java/org/telegram/messenger/MessagesController.java +++ b/TMessagesProj/src/main/java/org/telegram/messenger/MessagesController.java @@ -750,7 +750,7 @@ public class MessagesController extends BaseController implements NotificationCe preloadFeaturedStickers = mainPreferences.getBoolean("preloadFeaturedStickers", false); youtubePipType = mainPreferences.getString("youtubePipType", "disabled"); keepAliveService = mainPreferences.getBoolean("keepAliveService", false); - backgroundConnection = mainPreferences.getBoolean("keepAliveService", false); + backgroundConnection = mainPreferences.getBoolean("backgroundConnection", false); promoDialogId = mainPreferences.getLong("proxy_dialog", 0); nextPromoInfoCheckTime = mainPreferences.getInt("nextPromoInfoCheckTime", 0); promoDialogType = mainPreferences.getInt("promo_dialog_type", 0);