fbchat icon indicating copy to clipboard operation
fbchat copied to clipboard

Friend requests

Open twilight1794 opened this issue 5 years ago • 1 comments

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:

  1. I send a request
  2. I accept a request
  3. Friend sends a request (to me) -> this is what onFriendRequest listens
  4. 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.

twilight1794 avatar Feb 26 '20 06:02 twilight1794

Thanks for the feature request, I'll look into adding this!

madsmtm avatar Mar 02 '20 12:03 madsmtm