From cc16b9c893b9e20a6bda7df813131dbecd216f62 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Thu, 6 Apr 2017 20:58:42 -0400 Subject: [PATCH] CR nit: add assert // FREEBIE --- Signal/src/ViewControllers/NewGroupViewController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Signal/src/ViewControllers/NewGroupViewController.m b/Signal/src/ViewControllers/NewGroupViewController.m index 241db2e6a..cfd0e41fd 100644 --- a/Signal/src/ViewControllers/NewGroupViewController.m +++ b/Signal/src/ViewControllers/NewGroupViewController.m @@ -471,6 +471,8 @@ static NSString *const kUnwindToMessagesViewSegue = @"UnwindToMessagesViewSegue" OWSAssert(indexPath); Contact *contact = contacts[(NSUInteger)indexPath.row]; + OWSAssert(contact != nil); + BOOL isBlocked = [self isContactBlocked:contact]; BOOL isInGroup = [self isContactInGroup:contact]; BOOL isSelected = [[self.tableView indexPathsForSelectedRows] containsObject:indexPath];