Read markers should be synchronised across clients

- move the check on read marker visibility in viewDidAppear method

vector-im/riot-meta#8
This commit is contained in:
Giom Foret
2017-06-06 13:31:58 +02:00
parent 61a087c7cb
commit 549fe4d77c
+3 -3
View File
@@ -422,9 +422,6 @@
[self.bubblesTableView setContentOffset:CGPointMake(-self.bubblesTableView.contentInset.left, -self.bubblesTableView.contentInset.top) animated:YES];
}];
isAppeared = YES;
[self checkReadMarkerVisibility];
}
- (void)viewWillDisappear:(BOOL)animated
@@ -471,6 +468,9 @@
{
[super viewDidAppear:animated];
isAppeared = YES;
[self checkReadMarkerVisibility];
if (self.roomDataSource)
{
// Set visible room id