Fix typo
This commit is contained in:
parent
f920163131
commit
1ac0e14d04
|
@ -561,7 +561,8 @@ typedef enum : NSUInteger {
|
|||
return;
|
||||
}
|
||||
|
||||
if ([self.thread isKindOfClass:TSGroupThread.class] && !((TSGroupThread *)self.thread).usesSharedSenderKeys) {
|
||||
if ([self.thread isKindOfClass:TSGroupThread.class] && !((TSGroupThread *)self.thread).isOpenGroup
|
||||
&& !((TSGroupThread *)self.thread).usesSharedSenderKeys) {
|
||||
self.inputToolbar.hidden = YES;
|
||||
} else if (self.userLeftGroup) {
|
||||
self.inputToolbar.hidden = YES; // user has requested they leave the group. further sends disallowed
|
||||
|
@ -1194,7 +1195,8 @@ typedef enum : NSUInteger {
|
|||
[self updateInputBarLayout];
|
||||
[self ensureScrollDownButton];
|
||||
|
||||
if ([self.thread isKindOfClass:TSGroupThread.class] && !((TSGroupThread *)self.thread).usesSharedSenderKeys) {
|
||||
if ([self.thread isKindOfClass:TSGroupThread.class] && !((TSGroupThread *)self.thread).isOpenGroup
|
||||
&& !((TSGroupThread *)self.thread).usesSharedSenderKeys) {
|
||||
UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Session"
|
||||
message:@"Legacy closed groups are no longer supported. Please create a new group to continue." preferredStyle:UIAlertControllerStyleAlert];
|
||||
[alert addAction:[UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:nil]];
|
||||
|
|
Loading…
Reference in New Issue