I achieved a negative inbox

JoShmoe@programming.dev to Asklemmy@lemmy.ml – 183 points –

Am I gonna die?

35

You are viewing a single comment

You just hit the delete key one too many times, so there is a pending 'delete' action that will apply to the next email to arrive.

I understand how that would work. However, I haven’t deleted anything.

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.

One heck of race condition. Rust mean safe as corroded metal.