mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 21:56:58 +02:00
Ignore user: [MXSession isUserIgnored] now exists
This commit is contained in:
@@ -362,18 +362,18 @@
|
||||
// Check whether the option Ignore may be presented
|
||||
if (self.mxRoomMember.membership == MXMembershipJoin)
|
||||
{
|
||||
//FIXME: is he already ignored ?
|
||||
// if ()
|
||||
// is he already ignored ?
|
||||
if (![self.mainSession isUserIgnored:self.mxRoomMember.userId])
|
||||
{
|
||||
[actionsArray addObject:@(MXKRoomMemberDetailsActionIgnore)];
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// [actionsArray addObject:@(MXKRoomMemberDetailsActionUnignore)];
|
||||
// }
|
||||
else
|
||||
{
|
||||
[actionsArray addObject:@(MXKRoomMemberDetailsActionUnignore)];
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
case MXMembershipLeave:
|
||||
{
|
||||
// Check conditions to be able to invite someone
|
||||
|
||||
Reference in New Issue
Block a user