feat: add group participants to get_chat and resolve contact names - #152
Open
claudeholic wants to merge 1 commit into
Open
Conversation
claudeholic
force-pushed
the
feat/group-participants-contact-name-resolution
branch
from
July 6, 2026 22:51
3a0af7b to
ed6599a
Compare
- Add /api/group-info bridge endpoint that returns group participants via whatsmeow's GetGroupInfo (JID, phone number, LID, admin status) - Enrich get_chat response with participants list for group chats - Resolve contact display names from whatsmeow_contacts in chat_to_dict when the stored name is just a phone number - Fix get_contact fallback: always try whatsmeow name resolution even when a chat row exists with a numeric name
claudeholic
force-pushed
the
feat/group-participants-contact-name-resolution
branch
from
July 6, 2026 22:53
ed6599a to
d86b98b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/api/group-infobridge endpoint exposing group participants(JID, phone number, LID, admin role) via whatsmeow's
GetGroupInfoget_chatfor group chats now includes aparticipantslist withresolved display names
chat_to_dictresolves contact names fromwhatsmeow_contactswhenthe stored chat name is just a phone number — fixes
list_chatsshowing raw numbers instead of names
get_contactto fall back toget_sender_nameeven when a chatrow exists but has a numeric name
Test plan
get_chaton a group JID — verifyparticipantsarray is presentlist_chats— verify private chats show resolved namesget_contactwith a phone number — verify name is resolvedparticipantsfield)