itsahsiao / breadcrumbs

A full-stack Flask web app that lets foodies search restaurants, track their eating history, while also connecting with friends
28 stars 10 forks source link

User can send a Friend Request to another user who has already sent a Friend Request to them #26

Open itsahsiao opened 8 years ago

itsahsiao commented 8 years ago

Regarding Social Media feature for Issue #21 , I just discovered a bug on the Friends page where a user shows up twice on Received Friend Requests and Sent Friend Requests:

screen shot 2016-06-01 at 5 18 37 pm

Look into queries for friend requests and make sure that user_a cannot send a friend request to user_b if user_b has already sent a friend request to user_a.