Use thread relation if exists when opening search results

This commit is contained in:
ismailgulek
2022-02-11 18:14:41 +03:00
parent f2e8faf54e
commit 7266ca7cab
3 changed files with 3 additions and 3 deletions
@@ -165,7 +165,7 @@
threadParameters = [[ThreadParameters alloc] initWithThreadId:event.threadId
stackRoomScreen:NO];
}
else if ([self.mainSession.threadingService isEventThreadRoot:event])
else if (event.unsignedData.relations.thread || [self.mainSession.threadingService isEventThreadRoot:event])
{
threadParameters = [[ThreadParameters alloc] initWithThreadId:event.eventId
stackRoomScreen:NO];