mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 09:02:44 +02:00
Fix crash: Room directory: Clicking on "No public rooms available" make the app crash
This commit is contained in:
@@ -210,7 +210,12 @@
|
||||
{
|
||||
if (indexPath.section == recentsDataSource.directorySection)
|
||||
{
|
||||
[self openPublicRoomAtIndexPath:indexPath];
|
||||
// Sanity check
|
||||
MXPublicRoom *publicRoom = [recentsDataSource.publicRoomsDirectoryDataSource roomAtIndexPath:indexPath];
|
||||
if (publicRoom)
|
||||
{
|
||||
[self openPublicRoomAtIndexPath:indexPath];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user