diff --git a/Signal.xcodeproj/xcshareddata/xcschemes/Signal-Internal.xcscheme b/Signal.xcodeproj/xcshareddata/xcschemes/Signal-Internal.xcscheme
index ee18275a3..f87c0c2a8 100644
--- a/Signal.xcodeproj/xcshareddata/xcschemes/Signal-Internal.xcscheme
+++ b/Signal.xcodeproj/xcshareddata/xcschemes/Signal-Internal.xcscheme
@@ -15,7 +15,7 @@
@@ -27,19 +27,17 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
-
-
-
-
+
+
@@ -73,8 +71,6 @@
isEnabled = "YES">
-
-
diff --git a/Signal.xcodeproj/xcshareddata/xcschemes/Signal.xcscheme b/Signal.xcodeproj/xcshareddata/xcschemes/Signal.xcscheme
index 65f0efbe7..f98b3992f 100644
--- a/Signal.xcodeproj/xcshareddata/xcschemes/Signal.xcscheme
+++ b/Signal.xcodeproj/xcshareddata/xcschemes/Signal.xcscheme
@@ -15,7 +15,7 @@
@@ -45,7 +45,7 @@
@@ -148,7 +148,7 @@
@@ -187,7 +187,7 @@
diff --git a/Signal.xcodeproj/xcshareddata/xcschemes/SignalShareExtension.xcscheme b/Signal.xcodeproj/xcshareddata/xcschemes/SignalShareExtension.xcscheme
index 859263a4d..f708fe73a 100644
--- a/Signal.xcodeproj/xcshareddata/xcschemes/SignalShareExtension.xcscheme
+++ b/Signal.xcodeproj/xcshareddata/xcschemes/SignalShareExtension.xcscheme
@@ -30,7 +30,7 @@
@@ -42,8 +42,6 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
-
-
-
-
+
+
-
-
diff --git a/Signal/src/AppDelegate.m b/Signal/src/AppDelegate.m
index d3aa5ea8d..1a9ba3fec 100644
--- a/Signal/src/AppDelegate.m
+++ b/Signal/src/AppDelegate.m
@@ -591,7 +591,7 @@ static NSTimeInterval launchStartedAt;
return;
}
- OWSLogInfo(@"registered vanilla push token");
+ OWSLogInfo(@"registered vanilla push token %@", deviceToken);
[LKPushNotificationManager.shared registerWithToken:deviceToken];
[self.pushRegistrationManager didReceiveVanillaPushToken:deviceToken];
}
diff --git a/Signal/src/ViewControllers/NewGroupViewController.m b/Signal/src/ViewControllers/NewGroupViewController.m
index 410c3e534..d4cbf2a6d 100644
--- a/Signal/src/ViewControllers/NewGroupViewController.m
+++ b/Signal/src/ViewControllers/NewGroupViewController.m
@@ -50,7 +50,7 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, nullable) UIImage *groupAvatar;
@property (nonatomic) NSMutableSet *memberRecipientIds;
-
+@property (nonatomic) NSMutableSet *adminIds;
@property (nonatomic) GroupType groupType;
@property (nonatomic) BOOL hasUnsavedChanges;
@@ -530,11 +530,13 @@ NS_ASSUME_NONNULL_BEGIN
NSString *groupName = [self.groupNameTextField.text ows_stripped];
NSMutableArray *recipientIds = [self.memberRecipientIds.allObjects mutableCopy];
[recipientIds addObject:[self.contactsViewHelper localNumber]];
- return [[TSGroupModel alloc] initWithTitle:groupName
- memberIds:recipientIds
- image:self.groupAvatar
- groupId:self.groupId
- groupType:self.groupType];
+ TSGroupModel *group = [[TSGroupModel alloc] initWithTitle:groupName
+ memberIds:recipientIds
+ image:self.groupAvatar
+ groupId:self.groupId
+ groupType:self.groupType];
+ [group setGroupAdminIds:[self.adminIds.allObjects copy]];
+ return group;
}
#pragma mark - Group Avatar
diff --git a/SignalServiceKit/src/Messages/TSGroupModel.m b/SignalServiceKit/src/Messages/TSGroupModel.m
index 46c5c1fea..381d42fc1 100644
--- a/SignalServiceKit/src/Messages/TSGroupModel.m
+++ b/SignalServiceKit/src/Messages/TSGroupModel.m
@@ -145,6 +145,11 @@ const int32_t kGroupIdLength = 16;
return _groupName.filterStringForDisplay;
}
+- (void)setGroupAdminIds:(NSArray *)groupAdminIds
+{
+ _groupAdminIds = groupAdminIds;
+}
+
@end
NS_ASSUME_NONNULL_END