mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Merge pull request #5822 from vector-im/ismail/5441_thread_timeline_fixes
Thread Timeline Fixes
This commit is contained in:
commit
0a5164a435
3 changed files with 5 additions and 5 deletions
|
@ -968,11 +968,6 @@ const CGFloat kTypingCellHeight = 24;
|
|||
|
||||
- (void)threadingService:(MXThreadingService *)service didCreateNewThread:(MXThread *)thread direction:(MXTimelineDirection)direction
|
||||
{
|
||||
if (self.threadId)
|
||||
{
|
||||
// no need to reload the thread screen
|
||||
return;
|
||||
}
|
||||
if (direction == MXTimelineDirectionBackwards)
|
||||
{
|
||||
// no need to reload when paginating back
|
||||
|
|
|
@ -68,6 +68,10 @@ final class ThreadsCoordinator: NSObject, ThreadsCoordinatorProtocol {
|
|||
// Detect when view controller has been dismissed by gesture when presented modally (not in full screen).
|
||||
self.navigationRouter.toPresentable().presentationController?.delegate = self
|
||||
|
||||
guard parameters.threadId == nil else {
|
||||
return
|
||||
}
|
||||
|
||||
if self.navigationRouter.modules.isEmpty == false {
|
||||
self.navigationRouter.push(rootCoordinator, animated: true, popCompletion: { [weak self] in
|
||||
self?.remove(childCoordinator: rootCoordinator)
|
||||
|
|
1
changelog.d/5441.change
Normal file
1
changelog.d/5441.change
Normal file
|
@ -0,0 +1 @@
|
|||
RoomDataSource: Reload thread screen for the first message.
|
Loading…
Reference in a new issue