Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group Chat Delivery status #727

Open
nplasterer opened this issue May 2, 2024 · 2 comments
Open

Group Chat Delivery status #727

nplasterer opened this issue May 2, 2024 · 2 comments
Assignees
Labels
documentation Documentation and other content group chat

Comments

@nplasterer
Copy link
Contributor

Integrators can choose to show optimistically sent messages
Group Chat messages now have a delivery status on them which is either Published Unpublished or Failed

When a message is sent it is immediately added to the database and the status is set to Unpublished. Listing messages will show all messages irregardless of status. You can however filter those by status by passing in a status to the list messages function.

A message will try to be sent 3 times before it fails to send. This is when it will move into the failed state and that indicates that the message is only visible to the user locally and to no one else in the group.

Unpublished messages are also only visible locally and should be indicated as so. But when in the state of unpublished they are still in the queue to be published

Syncing the group should update the delivery statuses to their current state. There is no streaming of delivery status to let you know when the delivery.

@nplasterer nplasterer added documentation Documentation and other content group chat labels May 2, 2024
@scotboyd
Copy link
Contributor

Added as a section to the group-chat.md I'm working on for V3. It would probably be good to have a micro-sample for the build page. There's an open question here on how to handle failure.

And what can cause failure? Do the three attempts include not being able to connect to the Node at all, or are those freebies? Or does failure require you to be kicked or blocked?

@scotboyd
Copy link
Contributor

Addressed in #747

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation and other content group chat
Projects
None yet
Development

No branches or pull requests

2 participants