Merge branch 'charlesmchen/editMenuVsAttachmentUpload'
This commit is contained in:
commit
21f5bc2fce
|
@ -256,6 +256,10 @@ NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
- (BOOL)canPerformEditingAction:(SEL)action
|
- (BOOL)canPerformEditingAction:(SEL)action
|
||||||
{
|
{
|
||||||
|
if ([self attachmentStream] && ![self attachmentStream].isUploaded) {
|
||||||
|
return NO;
|
||||||
|
}
|
||||||
|
|
||||||
// Deletes are always handled by TSMessageAdapter
|
// Deletes are always handled by TSMessageAdapter
|
||||||
if (action == @selector(delete:)) {
|
if (action == @selector(delete:)) {
|
||||||
return YES;
|
return YES;
|
||||||
|
|
Loading…
Reference in New Issue