@ -3834,6 +3834,10 @@ typedef enum : NSUInteger {
DDLogInfo(@"%@ Not marking messages as read; another view is presented.", self.logTag);
return;
}
if (OWSWindowManager.sharedManager.shouldShowCallView) {
DDLogInfo(@"%@ Not marking messages as read; call view is presented.", self.logTag);
if (self.navigationController.topViewController != self) {
DDLogInfo(@"%@ Not marking messages as read; another view is pushed.", self.logTag);
@ -29,6 +29,8 @@ extern const UIWindowLevel UIWindowLevel_Background;
#pragma mark - Calls
@property (nonatomic, readonly) BOOL shouldShowCallView;
- (void)startCall:(UIViewController *)callViewController;
- (void)endCall:(UIViewController *)callViewController;
- (void)leaveCallView;