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

Don't create/unarchive groups on member removal messages (#5618) #5629

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

iequidoo
Copy link
Collaborator

@iequidoo iequidoo commented May 24, 2024

Close #5618
Although the task is about "group left" messages, i think it's ok to not create/unarchive groups for all member removal messages. At least currently for DC-style groups create_group() already avoids group creation for any member removals. Then, if we don't consider member removal messages important enough to create groups, why unarchive already existing ones.

@iequidoo iequidoo marked this pull request as ready for review May 25, 2024 00:42
@iequidoo iequidoo requested review from r10s and link2xt May 25, 2024 00:43
@iequidoo iequidoo force-pushed the iequidoo/ignore-member-removal branch 2 times, most recently from ec67197 to 81efe7c Compare June 6, 2024 15:39
The "Chat-Group-Member-Removed" header is added to ad-hoc group messages as well, so we should check
for its presense before creating an ad-hoc group as we do for DC-style groups.
@iequidoo iequidoo force-pushed the iequidoo/ignore-member-removal branch from 81efe7c to 6888326 Compare June 21, 2024 23:18
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.

"group left" messages should not create/unarchive groups
1 participant