From fa7a584cc53c3472cefa2d28a328eed718a09785 Mon Sep 17 00:00:00 2001 From: Morgan Pretty Date: Thu, 2 May 2024 14:47:54 +1000 Subject: [PATCH] Updated to the fixed version of libQuic --- .gitignore | 3 +++ LibSession-Util | 2 +- SessionMessagingKit/Utilities/ProfileManager.swift | 6 +++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 21c390b4b..064a10ffc 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,6 @@ Index/ # CocoaPods Pods + +# VSCode +.vscode \ No newline at end of file diff --git a/LibSession-Util b/LibSession-Util index e49e379fe..56e75ac28 160000 --- a/LibSession-Util +++ b/LibSession-Util @@ -1 +1 @@ -Subproject commit e49e379fe2f40256d7b57aaca4f211c905096c29 +Subproject commit 56e75ac289ac325ac26940f94a685ff80e68ca91 diff --git a/SessionMessagingKit/Utilities/ProfileManager.swift b/SessionMessagingKit/Utilities/ProfileManager.swift index 524dd080e..bd5044e63 100644 --- a/SessionMessagingKit/Utilities/ProfileManager.swift +++ b/SessionMessagingKit/Utilities/ProfileManager.swift @@ -425,9 +425,9 @@ public struct ProfileManager { newProfileKey = try Randomness.generateRandomBytes(numberBytes: ProfileManager.avatarAES256KeyByteLength) fileExtension = { switch guessedFormat { - case .gif: return "gif" - case .webp: return "webp" - default: return "jpg" + case .gif: return "gif" // stringlint:disable + case .webp: return "webp" // stringlint:disable + default: return "jpg" // stringlint:disable } }() }