fbchat
fbchat copied to clipboard
Friend requests
Hi. I realized that there's a method called when the client receives a friend request (onFriendRequest). I think that name is somewhat ambiguous, since it could refer to 4 different things:
- I send a request
- I accept a request
- Friend sends a request (to me) -> this is what
onFriendRequestlistens - Friend accepts a request (from me)
I would like to have a way to listen option 4, I found it very useful. But I think it the other two events could be useful too, for example, I could write a script to send an automatic message when I accept a friend request. In any case, onFriendRequest would be renamed.
Thanks.
Thanks for the feature request, I'll look into adding this!