Skip to content

Conversation

@iequidoo
Copy link
Collaborator

@iequidoo iequidoo commented Dec 19, 2025

84161f4 promotes group members to Origin::IncomingTo when accepting it, instead of CreateChat as before, but this changes almost nothing because it happens rarely that the user only accepts a group and writes nothing there soon. Now if a message has multiple recipients, i.e. it's a 3-or-more-member group, or if it's a broadcast message, we don't scale up its recipients to Origin::OutgoingTo.

Follow-up to #7616

Maybe when accepting a 2-member group it also makes sense to use Origin::CreateChat as before because it's a "1:1 group"?

… sending a message

84161f4 promotes group members to `Origin::IncomingTo` when
accepting it instead of `CreateChat` as before, but this changes almost nothing because it happens
rarely that the user only accepts a group and writes nothing there soon. Now if a message has
multiple recipients, i.e. it's a 3-or-more-member group, or if it's a broadcast message, we don't
scale up its recipients to `Origin::OutgoingTo`.
@iequidoo iequidoo requested a review from link2xt December 19, 2025 08:28
@iequidoo
Copy link
Collaborator Author

iequidoo commented Jan 6, 2026

I suggest we merge this (if there are no other ideas), otherwise already merged #7616 doesn't make much sense

@iequidoo iequidoo requested a review from r10s January 6, 2026 14:14
assert_eq!(contacts.len(), 2);
assert_eq!(contacts[0], bob_fiona_id);

send_text_msg(bob, bob_chat_id, "ehlo".to_string()).await?;
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: what does "ehlo" mean? is it a typo or a reference to some SMTP command?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
send_text_msg(bob, bob_chat_id, "ehlo".to_string()).await?;
send_text_msg(bob, bob_chat_id, "Hi Alice, stay down in my contact list".to_string()).await?;

Let's replace it with a self-documenting message to avoid questions

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.

3 participants