mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
[Spaces] Show suggested in room lists #4501
- Show suggested rooms section in home screen (no actions) - Show suggested rooms section in rooms screen (no actions)
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#import "RecentCellData.h"
|
||||
|
||||
#import "MXRoom+Riot.h"
|
||||
#import "MatrixSDK-Swift.h"
|
||||
|
||||
@implementation RecentCellData
|
||||
// trick to hide the mother class property as it is readonly one.
|
||||
@@ -57,7 +58,7 @@
|
||||
- (void)update
|
||||
{
|
||||
[super update];
|
||||
roomDisplayname = self.roomSummary.displayname;
|
||||
roomDisplayname = self.spaceChildInfo ? self.spaceChildInfo.name: self.roomSummary.displayname;
|
||||
if (!roomDisplayname.length)
|
||||
{
|
||||
roomDisplayname = [NSBundle mxk_localizedStringForKey:@"room_displayname_empty_room"];
|
||||
|
||||
Reference in New Issue
Block a user