Skip to content

refactor: Rename add_or_lookup_key_contacts_by_address_list() to add_or_lookup_key_contacts() #7052

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

iequidoo
Copy link
Collaborator

No description provided.

…or_lookup_key_contacts()

- It's obvious that addresses are needed to add contacts, so `_by_address_list` looks excessive.
- The function only looks up `SELF` by address.
- The name was confusing because there's also `lookup_key_contacts_by_address_list()` that actually
  looks up key contacts by addresses (not only `SELF`).
@iequidoo iequidoo force-pushed the iequidoo/rename.add_or_lookup_key_contacts_by_address_list branch from 20612da to b249be7 Compare July 29, 2025 20:22
@iequidoo iequidoo requested a review from link2xt July 29, 2025 20:24
@@ -429,7 +429,7 @@ async fn get_to_and_past_contact_ids(
context,
&mime_parser.recipients,
to_member_fingerprints,
chat_id,
None,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to be more explicit, otherwise one need to scroll up to see that chat_id == None

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

Successfully merging this pull request may close these issues.

1 participant