I've been in a D&D 5e group with some people from my high school for a few weeks. The group started with a simple starter campaign (A Most Potent Brew) and continued with a homebrew campaign created by the DM.
The problem I'm having is that parts of the group are very heavy on roleplay that seems like it means nothing to the story or campaign. For example, in the last session, three or four of the characters spent an hour of real time in an inn, seducing the bartenders/other bar attendees/each other and having a party. After this, there was about 15 minutes of story building and progress, with some mild story related roleplay (I found this interesting) and then more roleplay about romantic relationships between characters.
To clarify, I don't inherently dislike in character roleplay. For example, there was an interaction between one character and an NPC that I was very interested in. I just feel like the focus in roleplay should be roleplay that's actually helping to advance the story of the campaign in some way. I also don't have a problem with small amount of this kind of stuff, I just don't like it taking over the entire campaign.
I tried to bring this up with the group. The responses I got were "Your character isn't developed enough" (true, but irrelevant), "you're ruining the fun", "maybe you should try it, you might like it", and "this is what D&D is supposed to be like" (all direct quotes).
Is there a way out of a scenario like this that isn't just leaving the group?