hootlex / laravel-friendships

This package gives Eloquent models the ability to manage their friendships.
MIT License
703 stars 151 forks source link

getFriendsCount returns wrong #100

Open joveice opened 6 years ago

joveice commented 6 years ago

$user->getFriendsCount() returns all friend requests, declined, accepted.

Expected to get all Current friends.

Is there a way for me to change some config so after a user accepts a friend request the request is deleted. I do not need old requests in my database. I only need non responded and friendships, not a history of who I accepted or declined..

TechTailor commented 6 years ago

@hootlex would you mind closing all the issues that have already been resolved through releases. Its giving me a bad case of OCD, especially since I am using this package in one of my main projects and want to be up-to-date with it.

@joveice if in case you might still be wondering, the issues stated by you don't exists in the current release of the package.