pull/941/head
Ryan Zhao 11 months ago
parent c293bbca3a
commit acbf6fb126

@ -66,7 +66,7 @@
<key>NSIncludesSubdomains</key>
<true/>
<key>NSExceptionRequiresForwardSecrecy</key>
<true/>
<false/>
</dict>
<key>seed2.getsession.org</key>
<dict>

@ -1,11 +1,6 @@
//
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <SessionUIKit/SessionUIKit.h>
// Separate iOS Frameworks from other imports.
#import "OWSAudioPlayer.h"
#import "OWSBezierPathView.h"

@ -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()
}
}

Loading…
Cancel
Save