Minor fix
This commit is contained in:
parent
be1def6dfc
commit
7bc37be34d
|
@ -1177,7 +1177,7 @@ NSString *NSStringForOWSMessageCellType(OWSMessageCellType cellType)
|
||||||
if (self.isGroupThread) {
|
if (self.isGroupThread) {
|
||||||
// If it's RSS then skip
|
// If it's RSS then skip
|
||||||
TSGroupThread *groupThread = (TSGroupThread *)self.interaction.thread;
|
TSGroupThread *groupThread = (TSGroupThread *)self.interaction.thread;
|
||||||
if (groupThread.isRSS) return;
|
if (groupThread.isRSSFeed) return;
|
||||||
|
|
||||||
// Only allow deletion on incoming and outgoing messages
|
// Only allow deletion on incoming and outgoing messages
|
||||||
OWSInteractionType interationType = self.interaction.interactionType;
|
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
|
// Make sure it's a public chat and not an rss feed
|
||||||
TSGroupThread *groupThread = (TSGroupThread *)self.interaction.thread;
|
TSGroupThread *groupThread = (TSGroupThread *)self.interaction.thread;
|
||||||
if (groupThread.isRSS) return false;
|
if (groupThread.isRSSFeed) return false;
|
||||||
|
|
||||||
// Only allow deletion on incoming and outgoing messages
|
// Only allow deletion on incoming and outgoing messages
|
||||||
OWSInteractionType interationType = self.interaction.interactionType;
|
OWSInteractionType interationType = self.interaction.interactionType;
|
||||||
|
|
Loading…
Reference in New Issue