fbchat-dev / fbchat-dev/fbchat
Friend requests
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 403
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.