A German opposition leader has had a cake shoved in her face at a party meeting — an apparent protest against her position that not all refugees can come to Germany.

An activist threw the cake Saturday at Left Party parliamentary co-leader Sahra Wagenknecht in Magdeburg, the dpa news agency reported. A group calling itself "Anti-Fascist Initiative 'Cake for Misanthropists'" distributed flyers pointing to Wagenknecht's refugee comments as the motive.

Wagenknecht has highlighted limits to Germany's ability to take in migrants, saying that "not all refugees can come to Germany." That has put her at odds with others in her party.

The Left Party is the biggest opposition group in the German Parliament but has seen its support slip as the nationalist Alternative for Germany party woos protest voters.