From acbf6fb1262e3a18d7bf2ef0f1741322626d9dd6 Mon Sep 17 00:00:00 2001 From: Ryan Zhao Date: Thu, 10 Aug 2023 10:01:19 +1000 Subject: [PATCH] clean --- Session/Meta/Session-Info.plist | 2 +- Session/Meta/Signal-Bridging-Header.h | 5 ----- .../Message Handling/MessageReceiver+ExpirationTimers.swift | 6 +++--- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Session/Meta/Session-Info.plist b/Session/Meta/Session-Info.plist index 246f6afdf..2fe1a8749 100644 --- a/Session/Meta/Session-Info.plist +++ b/Session/Meta/Session-Info.plist @@ -66,7 +66,7 @@ NSIncludesSubdomains NSExceptionRequiresForwardSecrecy - + seed2.getsession.org diff --git a/Session/Meta/Signal-Bridging-Header.h b/Session/Meta/Signal-Bridging-Header.h index f7e7f9a88..ab5ca725a 100644 --- a/Session/Meta/Signal-Bridging-Header.h +++ b/Session/Meta/Signal-Bridging-Header.h @@ -1,11 +1,6 @@ // // Copyright (c) 2019 Open Whisper Systems. All rights reserved. // - -#import -#import -#import - // Separate iOS Frameworks from other imports. #import "OWSAudioPlayer.h" #import "OWSBezierPathView.h" diff --git a/SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+ExpirationTimers.swift b/SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+ExpirationTimers.swift index fb41f0d1f..c5eb784c0 100644 --- a/SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+ExpirationTimers.swift +++ b/SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+ExpirationTimers.swift @@ -182,7 +182,7 @@ extension MessageReceiver { lastChangeTimestampMs: protoLastChangeTimestampMs ) - let updateControlMewssage: () throws -> () = { + let updateControlMessage: () throws -> () = { guard message is ExpirationTimerUpdate else { return } _ = try Interaction @@ -215,7 +215,7 @@ extension MessageReceiver { guard protoLastChangeTimestampMs >= localLastChangeTimestampMs else { if (protoLastChangeTimestampMs + Int64(localConfig.durationSeconds * 1000)) > localLastChangeTimestampMs { - try updateControlMewssage() + try updateControlMessage() } return } @@ -245,6 +245,6 @@ extension MessageReceiver { } } - try updateControlMewssage() + try updateControlMessage() } }