mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
RecentsViewController: Allows to decline space invites.
This commit is contained in:
parent
8acba6d1ba
commit
310ccbcbc7
1 changed files with 1 additions and 8 deletions
|
@ -947,14 +947,7 @@
|
|||
{
|
||||
// Retrieve the invited room
|
||||
MXRoom *invitedRoom = userInfo[kInviteRecentTableViewCellRoomKey];
|
||||
|
||||
if (invitedRoom.summary.roomType == MXRoomTypeSpace)
|
||||
{
|
||||
// Indicates that spaces are not supported
|
||||
[self showSpaceInviteNotAvailable];
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
[self cancelEditionMode:isRefreshPending];
|
||||
|
||||
// Decline the invitation
|
||||
|
|
Loading…
Reference in a new issue