From 3090aecaf5b82e6c17ee032a875e673b5f6b320b Mon Sep 17 00:00:00 2001 From: Ivan Sein Date: Wed, 19 Feb 2025 17:33:06 +0100 Subject: [PATCH] fix(search): Open conversations search results Signed-off-by: Ivan Sein --- NextcloudTalk/RoomSearchTableViewController.m | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/NextcloudTalk/RoomSearchTableViewController.m b/NextcloudTalk/RoomSearchTableViewController.m index 451d23586..98f49492d 100644 --- a/NextcloudTalk/RoomSearchTableViewController.m +++ b/NextcloudTalk/RoomSearchTableViewController.m @@ -315,7 +315,14 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N } NSDate *date = [[NSDate alloc] initWithTimeIntervalSince1970:room.lastActivity]; cell.dateLabel.text = [NCUtils readableTimeOrDateFromDate:date]; - + + // Open conversations + if (searchSection == RoomSearchSectionListable) { + cell.titleOnly = NO; + cell.subtitleLabel.text = room.roomDescription; + cell.dateLabel.text = @""; + } + // Set unread messages if ([[NCDatabaseManager sharedInstance] serverHasTalkCapability:kCapabilityDirectMentionFlag]) { BOOL mentioned = room.unreadMentionDirect || room.type == kNCRoomTypeOneToOne || room.type == kNCRoomTypeFormerOneToOne;