I’ve just re-read the last line of this paragraph. Freud is saying the depressed person feels low self-esteem but not shame:
Finally, it must strike us that after all the melancholic does not behave in quite the same way as a person who is crushed by remorse and self-reproach in a normal fashion. Feelings of shame in front of other people, which would more than anything characterize this latter condition, are lacking in the melancholic, or at least they are not prominent in him. One might emphasize the presence in him of an almost opposite trait of insistent communicativeness which finds satisfaction in self-exposure.