fix displaying of message delete-button
@@ -2421,7 +2421,7 @@ class ChatController(args: Bundle) :
val isUserAllowedByPrivileges = if (message.actorId == conversationUser.userId) {
true
} else {
- currentConversation!!.isParticipantOwnerOrModerator
+ currentConversation!!.canModerate(conversationUser)
}
if (!isUserAllowedByPrivileges) return false