Skip to content

Lemmy 1.0: More granular notification counts #6329

@Sjmarf

Description

@Sjmarf

In Lemmy 0.19, the notification count response is:

{
    "replies": 0,
    "mentions": 0,
    "private_messages": 0
}

In Lemmy 1.0, it has been changed to:

{
    "notification_count": 0,
    "report_count": 0,
    "pending_follow_count": 0,
    "registration_application_count": 0
}

This makes it impossible to see which type of notification you've got without loading the inbox. The app I develop (Mlem) has a setting which uses that information:

Image

I would appreciate if you'd consider adding it back. If not, we can remove the setting, it's not a big deal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions