Minor fix

This commit is contained in:
Mikunj 2019-08-29 15:17:00 +10:00
parent be1def6dfc
commit 7bc37be34d
1 changed files with 2 additions and 2 deletions

View File

@ -1177,7 +1177,7 @@ NSString *NSStringForOWSMessageCellType(OWSMessageCellType cellType)
if (self.isGroupThread) {
// If it's RSS then skip
TSGroupThread *groupThread = (TSGroupThread *)self.interaction.thread;
if (groupThread.isRSS) return;
if (groupThread.isRSSFeed) return;
// Only allow deletion on incoming and outgoing messages
OWSInteractionType interationType = self.interaction.interactionType;
@ -1241,7 +1241,7 @@ NSString *NSStringForOWSMessageCellType(OWSMessageCellType cellType)
// Make sure it's a public chat and not an rss feed
TSGroupThread *groupThread = (TSGroupThread *)self.interaction.thread;
if (groupThread.isRSS) return false;
if (groupThread.isRSSFeed) return false;
// Only allow deletion on incoming and outgoing messages
OWSInteractionType interationType = self.interaction.interactionType;