mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Merge branch 'charlesmchen/readVsVisible2'
This commit is contained in:
commit
946240fb69
1 changed files with 2 additions and 2 deletions
|
@ -3799,11 +3799,11 @@ typedef enum : NSUInteger {
|
|||
- (void)markVisibleMessagesAsRead
|
||||
{
|
||||
if (self.presentedViewController) {
|
||||
OWSFail(@"%@ Not marking messages as read; another view is presented.", self.logTag);
|
||||
DDLogInfo(@"%@ Not marking messages as read; another view is presented.", self.logTag);
|
||||
return;
|
||||
}
|
||||
if (self.navigationController.topViewController != self) {
|
||||
OWSFail(@"%@ Not marking messages as read; another view is pushed.", self.logTag);
|
||||
DDLogInfo(@"%@ Not marking messages as read; another view is pushed.", self.logTag);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue