Fix message status bar updating issue

pull/176/head
nielsandriesse 5 years ago
parent 947eecf000
commit 739cb1b6ab

@ -5413,7 +5413,8 @@ typedef enum : NSUInteger {
targetInteraction = interaction; targetInteraction = interaction;
} }
}]; }];
if (targetInteraction == nil || targetInteraction.interactionType != OWSInteractionType_OutgoingMessage) { return; } if (targetInteraction == nil || targetInteraction.interactionType != OWSInteractionType_OutgoingMessage
|| [LKSessionProtocol isMessageNoteToSelf:self.thread]) { return; }
dispatch_async(dispatch_get_main_queue(), ^{ dispatch_async(dispatch_get_main_queue(), ^{
if (progress <= self.progressIndicatorView.progress) { return; } if (progress <= self.progressIndicatorView.progress) { return; }
self.progressIndicatorView.alpha = 1; self.progressIndicatorView.alpha = 1;

Loading…
Cancel
Save