Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Can't accept friendship request if both users ask for it

@ottolini

Participant

I’m currently developing a json API interface to BuddyPress based on on the BP-API project. I understand that this should not happen if a member uses the “normal” web interface, but if you access Buddypress functions through an API, like a mobile app, this could happen.
So, from my point of view, there are two solutions:

1) change the behaviour of friends_add_friend function so that if somebody ask for a friendship with someone that did the same in the past, just make the friendship happen because this is the implied action the member wanted to achieve
2) modify the behaviour of get_friendship_id as suggested earlier

Of course I’m open to any other suggestion…

Skip to toolbar