Fix missed case
This commit is contained in:
parent
51a7bc0383
commit
28f066b059
|
@ -1267,7 +1267,7 @@ NSString *NSStringForOWSMessageCellType(OWSMessageCellType cellType)
|
|||
[self.primaryStorage.dbReadConnection readWithBlock:^(YapDatabaseReadTransaction *transaction) {
|
||||
publicChat = [LKDatabaseUtilities getPublicChatForThreadID:groupThread.uniqueId transaction: transaction];
|
||||
}];
|
||||
if (publicChat == nil) return false;
|
||||
if (publicChat == nil) return true;
|
||||
|
||||
if (interationType == OWSInteractionType_IncomingMessage) {
|
||||
// Only allow deletion on incoming messages if the user has moderation permission
|
||||
|
|
Loading…
Reference in New Issue