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

fix(message-summary): respect admin config #10610

Merged
merged 1 commit into from
Jan 28, 2025
Merged

Conversation

hamza221
Copy link
Contributor

summarizeMessagesfeature is enabled by default, and not checking the admin config #10465 (comment)

@SebastianKrupinski
Copy link
Contributor

The check should be happening on this line,

$this->taskProcessingManager->getPreferredProvider(TextToTextSummary::ID);

What issue is it causing?

@hamza221
Copy link
Contributor Author

hamza221 commented Jan 27, 2025

mail/lib/Service/AiIntegrations/AiIntegrationsService.php

There's a separate admin config for groupware

@SebastianKrupinski
Copy link
Contributor

mail/lib/Service/AiIntegrations/AiIntegrationsService.php

There's a separate admin config for groupware

Ah. Was not aware of this.

@hamza221 hamza221 force-pushed the fix/message-summary branch from 910043b to 84d9398 Compare January 27, 2025 15:44
@hamza221
Copy link
Contributor Author

/backport to stable4.2

@hamza221 hamza221 force-pushed the fix/message-summary branch from 8b127ae to 95475ac Compare January 28, 2025 09:30
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

Looks good

This is a change that's easy to unit-test. Would you mind covering this condition with at least one test?

@hamza221 hamza221 force-pushed the fix/message-summary branch from 95475ac to 75ac055 Compare January 28, 2025 10:20
@hamza221 hamza221 requested a review from GretaD as a code owner January 28, 2025 10:20
@hamza221 hamza221 force-pushed the fix/message-summary branch from 75ac055 to a7434c4 Compare January 28, 2025 10:22
@hamza221 hamza221 enabled auto-merge January 28, 2025 10:32
@hamza221 hamza221 merged commit 2c246fb into main Jan 28, 2025
35 checks passed
@hamza221 hamza221 deleted the fix/message-summary branch January 28, 2025 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants