Skip to content

Commit

Permalink
fix(search): Open conversations search results
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Sein <[email protected]>
  • Loading branch information
Ivansss committed Feb 19, 2025
1 parent 9d46ec4 commit 3090aec
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion NextcloudTalk/RoomSearchTableViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3090aec

Please sign in to comment.