Merge branch 'mkirk/callscreen-read' into release/2.26.0

pull/1/head
Michael Kirk 7 years ago
commit b3308e4d33

@ -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);
return;
}
if (self.navigationController.topViewController != self) {
DDLogInfo(@"%@ Not marking messages as read; another view is pushed.", self.logTag);
return;

@ -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;

Loading…
Cancel
Save