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]Profiles: Fix duplicated profile for the same email adress #1096

Merged

Conversation

Baraka24
Copy link
Member

@marclaporte marclaporte requested a review from Shadow243 July 11, 2024 18:17
Copy link
Member

@Shadow243 Shadow243 left a comment

Choose a reason for hiding this comment

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

A part from that, It looks good for me.

modules/profiles/modules.php Outdated Show resolved Hide resolved
@Baraka24 Baraka24 force-pushed the fix_duplicated_profile_for_same_smtp branch from 3958a49 to 1732109 Compare July 25, 2024 21:50
@Baraka24 Baraka24 changed the title [FIX]Profiles: Fix duplicated profile for the same SMTP server [FIX]Profiles: Fix duplicated profile for the same email adress Jul 25, 2024
modules/profiles/modules.php Outdated Show resolved Hide resolved
@Baraka24 Baraka24 force-pushed the fix_duplicated_profile_for_same_smtp branch from 1732109 to c2dc987 Compare July 25, 2024 22:02
@Baraka24
Copy link
Member Author

@Shadow243 Thanks for a kind review, I did not figure out some points, you make them clear to me and I applied changes.

@Shadow243
Copy link
Member

@Shadow243 Thanks for a kind review, I did not figure out some points, you make them clear to me and I applied changes.

Perfect. What about 'replyto' ? I think we can add OR in that condition. What do you think about that? The idea is to prevent duplication with 'replyto' field.

@Baraka24 Baraka24 force-pushed the fix_duplicated_profile_for_same_smtp branch from c2dc987 to 1b078b7 Compare July 25, 2024 22:15
@Baraka24
Copy link
Member Author

What about 'replyto' ? I think we can add OR in that condition. What do you think about that? The idea is to prevent duplication with 'replyto' field.

Adding the 'replyto' field to the condition makes sense as we want to ensure that no profiles are duplicated based on the 'replyto' field as well.

@Baraka24 Baraka24 force-pushed the fix_duplicated_profile_for_same_smtp branch from 1b078b7 to e936db6 Compare July 25, 2024 22:22
@marclaporte marclaporte requested a review from Shadow243 August 1, 2024 15:07
@Shadow243 Shadow243 merged commit 50dbc2a into cypht-org:master Aug 2, 2024
6 checks passed
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.

2 participants