mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Merge branch 'charlesmchen/fixGroupCreation'
This commit is contained in:
commit
46b3540d89
|
@ -200,6 +200,11 @@ NSString *const kTSOutgoingMessageSentRecipientAll = @"kTSOutgoingMessageSentRec
|
|||
|
||||
- (BOOL)shouldBeSaved
|
||||
{
|
||||
if (!(self.groupMetaMessage == TSGroupMessageDeliver || self.groupMetaMessage == TSGroupMessageNone)) {
|
||||
DDLogDebug(@"%@ Skipping save for group meta message.", self.logTag);
|
||||
return NO;
|
||||
}
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
@ -212,11 +217,6 @@ NSString *const kTSOutgoingMessageSentRecipientAll = @"kTSOutgoingMessageSentRec
|
|||
return;
|
||||
}
|
||||
|
||||
if (!(self.groupMetaMessage == TSGroupMessageDeliver || self.groupMetaMessage == TSGroupMessageNone)) {
|
||||
DDLogDebug(@"%@ Skipping save for group meta message.", self.logTag);
|
||||
return;
|
||||
}
|
||||
|
||||
[super saveWithTransaction:transaction];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue