mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 21:26:57 +02:00
Report abusif content and Ignore user.
Add unignore option
This commit is contained in:
@@ -360,9 +360,17 @@
|
||||
}
|
||||
|
||||
// Check whether the option Ignore may be presented
|
||||
if (self.mxRoomMember.membership == MXMembershipJoin /*FIXME: is he already ignored ?*/)
|
||||
if (self.mxRoomMember.membership == MXMembershipJoin)
|
||||
{
|
||||
[actionsArray addObject:@(MXKRoomMemberDetailsActionIgnore)];
|
||||
//FIXME: is he already ignored ?
|
||||
// if ()
|
||||
{
|
||||
[actionsArray addObject:@(MXKRoomMemberDetailsActionIgnore)];
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// [actionsArray addObject:@(MXKRoomMemberDetailsActionUnignore)];
|
||||
// }
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -423,6 +431,9 @@
|
||||
case MXKRoomMemberDetailsActionIgnore:
|
||||
title = NSLocalizedStringFromTable(@"room_participants_action_ignore", @"Vector", nil);
|
||||
break;
|
||||
case MXKRoomMemberDetailsActionUnignore:
|
||||
title = NSLocalizedStringFromTable(@"room_participants_action_unignore", @"Vector", nil);
|
||||
break;
|
||||
case MXKRoomMemberDetailsActionSetDefaultPowerLevel:
|
||||
title = NSLocalizedStringFromTable(@"room_participants_action_set_default_power_level", @"Vector", nil);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user