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

Adding temporary username functionality #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Axemen
Copy link

@Axemen Axemen commented Jul 12, 2020

Changed from sending out the users pub key everytime they send a message to sending out a given username instead. This username is temporary, but atm the keys are as well so i don't see the problem.

If implementing a DB is in the future it'll all need to change anyways.

Also added some comments for functions and noted the socket.on("disconnect") erroring out in flask in a js comment.

On another note in the flask wouldn't it be easier to just hold a dict of the current users instead of a list? This would allow you to look up a user much easier? Or is there a specific reason for you doing that?

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

Successfully merging this pull request may close these issues.

None yet

1 participant