Skip to content

fix: Create a group unblocked for bot even if 1:1 chat is blocked#5634

Merged
iequidoo merged 2 commits intomainfrom
iequidoo/auto-accept-group-for-bot
Aug 16, 2024
Merged

fix: Create a group unblocked for bot even if 1:1 chat is blocked#5634
iequidoo merged 2 commits intomainfrom
iequidoo/auto-accept-group-for-bot

Conversation

@iequidoo
Copy link
Copy Markdown
Collaborator

@iequidoo iequidoo commented May 29, 2024

This needs a test, the test in the first commit is unrelated.
@adbenitez, i can't reproduce #5514, the test in the first commit just works. Maybe you can clarify the scenario? Also you can try the fix from the second commit, though i'm unsure if the changed code is related to your scenario, this is the only place where a group request can be created for a bot.

EDIT: I've reproduced it and added a test to the second commit. @adbenitez, please check if it corresponds to your scenario.

Fix #5514

@iequidoo iequidoo requested a review from adbenitez May 29, 2024 21:18
@iequidoo iequidoo force-pushed the iequidoo/auto-accept-group-for-bot branch from 3d81555 to 956d805 Compare May 30, 2024 00:19
@iequidoo iequidoo marked this pull request as ready for review May 30, 2024 00:20
@iequidoo iequidoo marked this pull request as draft May 30, 2024 12:42
@iequidoo iequidoo force-pushed the iequidoo/auto-accept-group-for-bot branch from 956d805 to 76d4b47 Compare May 30, 2024 13:30
@iequidoo iequidoo marked this pull request as ready for review May 30, 2024 13:30
@iequidoo iequidoo requested a review from link2xt May 30, 2024 13:34
@iequidoo iequidoo force-pushed the iequidoo/auto-accept-group-for-bot branch from 76d4b47 to 1378201 Compare June 6, 2024 15:30
@iequidoo iequidoo requested a review from Hocuri August 15, 2024 00:19
@Hocuri Hocuri force-pushed the iequidoo/auto-accept-group-for-bot branch from 1378201 to fb84289 Compare August 16, 2024 10:29
@Hocuri
Copy link
Copy Markdown
Collaborator

Hocuri commented Aug 16, 2024

I rebased so that CI runs with the current tests

@iequidoo iequidoo force-pushed the iequidoo/auto-accept-group-for-bot branch from fb84289 to 9af35fb Compare August 16, 2024 15:51
@iequidoo iequidoo merged commit 62fde21 into main Aug 16, 2024
@iequidoo iequidoo deleted the iequidoo/auto-accept-group-for-bot branch August 16, 2024 16:14
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.

bot receiving contact request for groups if no 1:1 chat exist yet

2 participants