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

Previous messages in room #32

Open
jbesraa opened this issue Feb 20, 2017 · 2 comments
Open

Previous messages in room #32

jbesraa opened this issue Feb 20, 2017 · 2 comments
Milestone

Comments

@jbesraa
Copy link
Contributor

jbesraa commented Feb 20, 2017

when new user enters a room, he should see the history of the room(previous messages in the room)

@njsfield
Copy link
Collaborator

Good shout, this would require the server comms module storing all msgs passed in, and then dispatching them to a new client when they are registered

@peterw8102
Copy link

Give every message into a room a unique sequence number starting from 1. In future this will allow your application to say 'the last message I saw was 1234, send me anything newer' - which in turn will be useful when a client loses it's web socket connect and has to restart. it will also allow the client to de-dupe messages if there's ever a possibility of a message being sent twice.

@njsfield njsfield added this to the Sprint 1 milestone Feb 21, 2017
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

4 participants