Closed kareldonk closed 5 months ago
listContacts
has a parameter --all-recipients
to include all known recipients and also a parameter to filter for one or multiple recipients by number or uuid.
For JSON-RPC that's "params":{"recipient":"d59...","all-recipients":true}
.
Thank you that worked in my case.
When a new member gets added to the group, and the member is not a contact of the registered Signal account and has never exchanged messages with it, it does not seem to be possible to get the name / profile of the new member. Listing the group info with
listGroups
returns something like the following:The user with UUID
d59...
was the one added. But as you can see thenumber
isnull
and no other data is available. Using alistContacts
RPC call right after the above does NOT show that user in the list. I think obviously because that user has never initiated a conversation with the registered Signal account in signal-cli.So my question is, how can I get more info about the group member via the signal-cli RPC deamon? Obviously it should be possible, because when using the official Signal client, and you are a member of a group, you can see some profile info for the members in the group even if they are not your contacts and you have never chatted with them directly.
One of the problems I have with not being able to get some basic profile info for the newly added user is that if someone in the group mentions them in a message, I can't lookup the mentioned user's name to replace it in the message.