mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-12 18:40:52 +00:00
Fix an issue with one2one rooms not leavable
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
a70ceb1b60
commit
08d44641d5
@ -101,8 +101,8 @@ public class Conversation {
|
||||
}
|
||||
|
||||
public boolean canModerate(UserEntity conversationUser) {
|
||||
return (Participant.ParticipantType.OWNER.equals(participantType)
|
||||
|| Participant.ParticipantType.MODERATOR.equals(participantType) && !isLockedOneToOne(conversationUser));
|
||||
return ((Participant.ParticipantType.OWNER.equals(participantType)
|
||||
|| Participant.ParticipantType.MODERATOR.equals(participantType)) && !isLockedOneToOne(conversationUser));
|
||||
}
|
||||
|
||||
public boolean isNameEditable(UserEntity conversationUser) {
|
||||
|
Loading…
Reference in New Issue
Block a user