Browse Source

Merge branch 'charlesmchen/editMenuVsAttachmentUpload'

pull/1/head
Matthew Chen 5 years ago
parent
commit
21f5bc2fce
  1. 4
      Signal/src/Models/TSMessageAdapaters/TSMessageAdapter.m

4
Signal/src/Models/TSMessageAdapaters/TSMessageAdapter.m

@ -256,6 +256,10 @@ NS_ASSUME_NONNULL_BEGIN
- (BOOL)canPerformEditingAction:(SEL)action
{
if ([self attachmentStream] && ![self attachmentStream].isUploaded) {
return NO;
}
// Deletes are always handled by TSMessageAdapter
if (action == @selector(delete:)) {
return YES;

Loading…
Cancel
Save