From 109e673badb008be714faf137b4d58c43715af65 Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Wed, 24 Feb 2021 15:30:20 +1100 Subject: [PATCH] Debug --- Session/Home/HomeVC.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Session/Home/HomeVC.swift b/Session/Home/HomeVC.swift index 9ab55a03d..774b37240 100644 --- a/Session/Home/HomeVC.swift +++ b/Session/Home/HomeVC.swift @@ -143,7 +143,10 @@ final class HomeVC : BaseVC, UITableViewDataSource, UITableViewDelegate, NewConv appDelegate.startPollerIfNeeded() appDelegate.startClosedGroupPollerIfNeeded() appDelegate.startOpenGroupPollersIfNeeded() - appDelegate.syncConfigurationIfNeeded() + // Do this only if we created a new Session ID, or if we already received the initial configuration message + if UserDefaults.standard[.hasSyncedInitialConfiguration] { + appDelegate.syncConfigurationIfNeeded() + } } // Onion request path countries cache DispatchQueue.global(qos: .utility).async {