Skip to content

subscribing to thread to listen for new messages updates #8

@Irere123

Description

@Irere123

Is your feature request related to a problem? Please describe.
When a user wants to get updates when new messages in a thread are published he can subscribe to that thread events and then get those updates

Describe the solution you'd like
make a subscribers db table that is connected to threads and then when a user subscribes to the thread we can store the user id and then last message id of that thread and when the user goes offline and comes back later we compare the last massage id insertion date with the last online date of the user to calculate number of unread messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions