You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, and thanks for this package! I got some troubles. When you deny a friend request and sent another request, the canBeFriend method always return true. I take a look on your code and the problem was in
This methods return the first request that was sent but if a first was denied the canBeFriend doesn't take care of it and then it's return true even if another request was sent.
I try to fix that by change the getFriendship method.
Hi, and thanks for this package! I got some troubles. When you deny a friend request and sent another request, the canBeFriend method always return true. I take a look on your code and the problem was in
This methods return the first request that was sent but if a first was denied the canBeFriend doesn't take care of it and then it's return true even if another request was sent.
I try to fix that by change the getFriendship method.
That solve my problem but i don't know if it cause another problem somewhere.
So this is the right way to solve this problem or there is another way
The text was updated successfully, but these errors were encountered: