Merge branch 'mkirk/no-reply-from-gallery'

pull/1/head
Michael Kirk 7 years ago
commit 4d65646dc0

@ -118,6 +118,8 @@ NSString *NSStringForOWSMessageCellType(OWSMessageCellType cellType);
- (void)shareTextAction;
- (void)saveMediaAction;
- (void)deleteAction;
- (SEL)replyActionSelector;
- (SEL)metadataActionSelector;
@end

@ -432,6 +432,14 @@ NS_ASSUME_NONNULL_BEGIN
if (action == self.viewItem.metadataActionSelector) {
return NO;
}
// Reply is not supported from MediaDetailView.
// TODO implement a "scroll to message" action which would
// let users scroll back to the media message in their message history.
if (action == self.viewItem.replyActionSelector) {
return NO;
}
return [self.viewItem canPerformAction:action];
}

Loading…
Cancel
Save