{"action":"created","issue":{"url":"https://api.github.com/repos/DraperStudio/Laravel-Friendable/issues/4","labels_url":"https://api.github.com/repos/DraperStudio/Laravel-Friendable/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/DraperStudio/Laravel-Friendable/issues/4/comments","events_url":"https://api.github.com/repos/DraperStudio/Laravel-Friendable/issues/4/events","html_url":"https://github.com/DraperStudio/Laravel-Friendable/issues/4","id":98771645,"number":4,"title":"Why does the sender get the pending requests as well ?","user":{"login":"minedun6","id":4510058,"avatar_url":"https://avatars.githubusercontent.com/u/4510058?v=3","gravatar_id":"","url":"https://api.github.com/users/minedun6","html_url":"https://github.com/minedun6","followers_url":"https://api.github.com/users/minedun6/followers","following_url":"https://api.github.com/users/minedun6/following{/other_user}","gists_url":"https://api.github.com/users/minedun6/gists{/gist_id}","starred_url":"https://api.github.com/users/minedun6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minedun6/subscriptions","organizations_url":"https://api.github.com/users/minedun6/orgs","repos_url":"https://api.github.com/users/minedun6/repos","events_url":"https://api.github.com/users/minedun6/events{/privacy}","received_events_url":"https://api.github.com/users/minedun6/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-03T15:43:02Z","updated_at":"2015-08-03T15:54:31Z","closed_at":null,"body":"I'm working on something that resembles facebook in the pending friends requests but the problem is that when i'm on the sender profile, i get the pending requests as well, so i was wondering, is there any way to exclude the sender from the recepients when trying to get the count ?\r\nit's just a way to only show the number of pending requests to the recepient only ^^"},"comment":{"url":"https://api.github.com/repos/DraperStudio/Laravel-Friendable/issues/comments/127285889","html_url":"https://github.com/DraperStudio/Laravel-Friendable/issues/4#issuecomment-127285889","issue_url":"https://api.github.com/repos/DraperStudio/Laravel-Friendable/issues/4","id":127285889,"user":{"login":"DraperStudio","id":9945265,"avatar_url":"https://avatars.githubusercontent.com/u/9945265?v=3","gravatar_id":"","url":"https://api.github.com/users/DraperStudio","html_url":"https://github.com/DraperStudio","followers_url":"https://api.github.com/users/DraperStudio/followers","following_url":"https://api.github.com/users/DraperStudio/following{/other_user}","gists_url":"https://api.github.com/users/DraperStudio/gists{/gist_id}","starred_url":"https://api.github.com/users/DraperStudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DraperStudio/subscriptions","organizations_url":"https://api.github.com/users/DraperStudio/orgs","repos_url":"https://api.github.com/users/DraperStudio/repos","events_url":"https://api.github.com/users/DraperStudio/events{/privacy}","received_events_url":"https://api.github.com/users/DraperStudio/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T15:54:31Z","updated_at":"2015-08-03T15:54:31Z","body":"You could just select the friendships where the status is pending and the recipient id is the one of the current user if I understand you correctly."}}