Public rooms search: Directory page starts to work (with cells from MatrixKit)

This commit is contained in:
manuroe
2015-12-18 17:17:03 +01:00
parent 10de4757d3
commit e71a4a090d
11 changed files with 108 additions and 37 deletions
@@ -28,6 +28,7 @@
#import "VectorDesignValues.h"
#import "InviteRecentTableViewCell.h"
#import "DirectoryRecentTableViewCell.h"
@interface RecentsViewController ()
{
@@ -458,6 +459,11 @@ static NSMutableDictionary* backgroundByImageNameDict;
// hide the selection
[tableView deselectRowAtIndexPath:indexPath animated:NO];
}
else if ([cell isKindOfClass:[DirectoryRecentTableViewCell class]])
{
// Show the directory screen
[homeViewController showPublicRoomsDirectory];
}
else
{
[super tableView:tableView didSelectRowAtIndexPath:indexPath];