From e2d6c574df6a7d4d4ee349b9224dc800e3af9d18 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Thu, 26 Jan 2017 17:42:32 -0500 Subject: [PATCH] Fix guard syntax. // FREEBIE --- Signal/src/view controllers/CallViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Signal/src/view controllers/CallViewController.swift b/Signal/src/view controllers/CallViewController.swift index 81f5cf3a0..ffbec32f1 100644 --- a/Signal/src/view controllers/CallViewController.swift +++ b/Signal/src/view controllers/CallViewController.swift @@ -674,7 +674,7 @@ class CallViewController: UIViewController, CallObserver, CallServiceObserver, R internal func updateLocalVideoTrack(localVideoTrack: RTCVideoTrack?) { AssertIsOnMainThread() - guard self.localVideoTrack == localVideoTrack else { + guard self.localVideoTrack != localVideoTrack else { return } @@ -694,7 +694,7 @@ class CallViewController: UIViewController, CallObserver, CallServiceObserver, R internal func updateRemoteVideoTrack(remoteVideoTrack: RTCVideoTrack?) { AssertIsOnMainThread() - guard self.remoteVideoTrack == remoteVideoTrack else { + guard self.remoteVideoTrack != remoteVideoTrack else { return }