Allow ignoring invited users that have not joined a room yet

This commit is contained in:
Andy Uhnak
2022-03-18 12:14:40 +00:00
parent a7b1ca8ab1
commit 712b6ad5c6
3 changed files with 4 additions and 3 deletions
@@ -629,7 +629,7 @@
}
// Check whether the option Ignore may be presented
if (RiotSettings.shared.roomMemberScreenShowIgnore && self.mxRoomMember.membership == MXMembershipJoin)
if (RiotSettings.shared.roomMemberScreenShowIgnore)
{
// is he already ignored ?
if (![self.mainSession isUserIgnored:self.mxRoomMember.userId])
@@ -778,7 +778,7 @@
title = [VectorL10n roomParticipantsActionUnban];
break;
case MXKRoomMemberDetailsActionIgnore:
title = [VectorL10n roomParticipantsActionIgnore];
title = [VectorL10n ignoreUser];
break;
case MXKRoomMemberDetailsActionUnignore:
title = [VectorL10n roomParticipantsActionUnignore];