Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contacts colors #1072

Closed
exquo opened this issue Oct 27, 2022 · 2 comments
Closed

Contacts colors #1072

exquo opened this issue Oct 27, 2022 · 2 comments

Comments

@exquo
Copy link
Contributor

exquo commented Oct 27, 2022

Is there a way to get the value of a contact's profile color parameter?

Color is one of the contacts' (and groups') profile entries, and it is present in the tables in signal-cli's account.db file. But the listContacts and listGroups commands (which print out profiles information) do not include color in the output. Likewise, there does not seem to exist a DBus interface call that would return a contact's color.

@AsamK
Copy link
Owner

AsamK commented Oct 28, 2022

It's not possible currently, but shouldn't be hard to add, at least for cli/json output.
For DBus a lot more contact information is also missing. I had planned to export those as separate object, similar to the groups, but haven't had time for that yet.

@exquo
Copy link
Contributor Author

exquo commented Feb 19, 2023

Thank you for adding this!

However, all of my contacts show Color: null..

In signal-desktop/mobile, every contact's "avatar circle" (for contacts without an avatar picture) has a different color. I guess that's what a "contact's color" means? In Chat settings there is also a "Chat color" option, but that's the color of their message boxes in their chats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants