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

Replay channel messages #122

Open
oestrich opened this issue Nov 22, 2019 · 0 comments
Open

Replay channel messages #122

oestrich opened this issue Nov 22, 2019 · 0 comments

Comments

@oestrich
Copy link
Owner

Follows up #121

Add in a new message for core that will let you replay a channel from a UID. This will let you catch up if your game was briefly offline.

The server will send:

{ 
  "event": "channels/replay",
  "ref": "28523394-6dcf-4c2a-ad1d-2d0ef8bb823b",
  "payload": {
    "channel": "grapevine",
    "since": "b35198e0-07cb-43f9-b644-7bb6640d2c0f"
  }
}

This could then send broadcast messages for anything missed. Since they have a timestamp this might be ok. Alternatively there can be a separate replay response that includes paginated messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant