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

friends backend #99

Closed
DattaKansal opened this issue Feb 18, 2025 · 1 comment · Fixed by #129
Closed

friends backend #99

DattaKansal opened this issue Feb 18, 2025 · 1 comment · Fixed by #129
Assignees

Comments

@DattaKansal
Copy link
Contributor

Create a addfriend method. addFriends(friendId, hostID)

  • Adds the friendsID to the hostIDs friends.
  • Removes it from the hostIDs incoming requests
  • REmoves it from the friendIDs outgoing requests

Create a deleteFriend method. deleteFriend(friendID, hostID)

  • Removes it from the hostIDs incoming requests
  • Removes it from the friendIDs outgoing requests
@anthonyle51 anthonyle51 self-assigned this Feb 20, 2025
@anthonyle51 anthonyle51 linked a pull request Feb 22, 2025 that will close this issue
@anthonyle51
Copy link
Collaborator

changed method names to fit functionality
added friend and host id's to both of their friend maps

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 a pull request may close this issue.

2 participants