![](https://popplesburger.hilciferous.nl/pictrs/image/c1ad0046-f2ee-4988-aa2d-533aca036635.jpeg)
![](https://lemmy.ml/pictrs/image/d3d059e3-fa3d-45af-ac93-ac894beba378.png)
I’m guessing someone who has been deleted (spammer?) sent you a PM after you already cleared your notifications. The notification counter goes down to -1, the app sees notification_count != 0
and draws a special little marker for the negative notification count.
Hopefully the problem will fix itself next time you get a notification. If this isn’t what happened, I have no idea how you would fix this without database access. Ask the server admins in that case, I guess.
Rust means safe as in memory safety. Humans are fallible, you can still have database bugs, no matter the programming language.