2 comments (2 comments)0 reactions (0 reactions)0 assignees (0 assignees)Python24,988 stars (24,988 stars)5,559 forks (5,559 forks)batch import
help wanted
Description
如何在添加好友的时候查到对方是通过谁发送的名片添加的,在addFriend方法里断点看了很久都看不出
Contributor guide
- Tech stack
- python
- Domain
- backend
- Issue type
- research
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 3
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- half day
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- stale
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- mostly clear
- Prerequisites
- PythonItChat basics
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 50
- Research direction
- The issue asks how to determine the referrer when adding a friend via a name card. The user mentions the addFriend method. Start by examining the addFriend method in the ItChat source code (likely in itchat/core.py or similar). Look for parameters or callbacks that might contain the referrer information. Additionally, check the commit history and related issues for any previous discussions on this topic. If no direct method exists, research the WeChat protocol documentation to see if the referrer info is available in the add friend request.