fbchat-dev / fbchat-dev/fbchat

Friend requests

Open
#534 1 comment 0 reactions 0 assignees View on GitHub
enhancement
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.