From dbceb53c38a1be9927f31410054a3634b58bc5ff Mon Sep 17 00:00:00 2001
From: Bruno Muniz Azevedo Filho <bruno@elixxir.io>
Date: Sat, 30 Jul 2022 01:19:58 -0300
Subject: [PATCH] Removed uneeded session injection checking

---
 Sources/App/AppDelegate.swift | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Sources/App/AppDelegate.swift b/Sources/App/AppDelegate.swift
index 52b3626b..e3dadaee 100644
--- a/Sources/App/AppDelegate.swift
+++ b/Sources/App/AppDelegate.swift
@@ -144,7 +144,6 @@ public class AppDelegate: UIResponder, UIApplicationDelegate {
         options: [UIApplication.OpenURLOptionsKey : Any] = [:]
     ) -> Bool {
         if let username = getUsernameFromInvitationDeepLink(url),
-           let _ = try? DependencyInjection.Container.shared.resolve() as SessionType,
            let router = try? DependencyInjection.Container.shared.resolve() as PushRouter {
             invitation = username
             router.navigateTo(.search, {})
-- 
GitLab