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

User online status feature added #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AkshayGowda-repo
Copy link

  • Added online_status column in user_data table:
ALTER TABLE user_data ADD COLUMN online_status BOOLEAN DEFAULT FALSE;
  • Implemented backend routes to set user status online or offline based on login/logout events.
  • Session expiration now triggers automatic status updates.

Related Issue: Closes #25

@AkshayGowda-repo
Copy link
Author

Hey @Pudi-Sravan, can you review the changes.

@Pudi-Sravan
Copy link
Collaborator

Hey @AkshayGowda-repo, good try but where are you displaying the status and its not updating the bool to true when logged in the table when i checked,once kindly go through this and later update even the Readme file mention the changes required in the table.

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

Successfully merging this pull request may close these issues.

Show whether a user is online or offline by any form of indication
2 participants