From 76535d587d4c1b2fd1b4570763ee4d49648c3d70 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Sun, 24 Apr 2022 01:34:40 +0400 Subject: [PATCH] Fix invite links crash --- .../TelegramCore/Sources/ApiUtils/ExportedInvitation.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramCore/Sources/ApiUtils/ExportedInvitation.swift b/submodules/TelegramCore/Sources/ApiUtils/ExportedInvitation.swift index 3abfba2a48..ace0b15845 100644 --- a/submodules/TelegramCore/Sources/ApiUtils/ExportedInvitation.swift +++ b/submodules/TelegramCore/Sources/ApiUtils/ExportedInvitation.swift @@ -26,7 +26,7 @@ public extension ExportedInvitation { var date: Int32? { switch self { - case let .link(_, _, _, _, _, _, _, date, _, _, _, _): + case let .link(_, _, _, _, _, _, date, _, _, _, _, _): return date case .publicJoinRequest: return nil