Dash to Dock does not display unread message badge in Discord


I use Fedora 37 and extension Dash to Dock. I can’t get it to display unread message badge from Discord. At the same time, it works great with Telegram. Does anyone else have a similar problem? Can it be solved?
Moreover, the same version of Dash to Dock and Discord works in Ubuntu 22.10. To run Discord in Fedora and Ubuntu, I use binaries from the official site.