@ -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 [self.viewItem canPerformAction:action];