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

Incorrect Blocking and Adding Behavior for Email Address in Contacts List #1129

Open
2 tasks
Baraka24 opened this issue Jul 22, 2024 · 0 comments · May be fixed by #1265
Open
2 tasks

Incorrect Blocking and Adding Behavior for Email Address in Contacts List #1129

Baraka24 opened this issue Jul 22, 2024 · 0 comments · May be fixed by #1265
Assignees

Comments

@Baraka24
Copy link
Member

🐛 Bugreport

When blocking the email [email protected], the success message incorrectly states "Sender Unblocked" instead of "Sender Blocked". Additionally, after blocking the email, if you try to add the same email to the trusted contacts list, it gets added but remains blocked. Ideally, there should be an alert stating, "This sender has been blocked and cannot be added to the trusted contacts list."

Version & Environment

Cypht Version: master

Steps to reproduce

  1. Log in to Cypht.
  2. Open a message from [email protected] and in its footer section Block the email .
  3. Observe the success message which says "Sender Unblocked" instead of "Sender Blocked".
  4. Attempt to add the same email [email protected] to the trusted contacts list.
  5. Observe that the email gets added to the trusted contacts list but remains blocked.

Possible Solution:

  • Correct the success message to "Sender Blocked" when an email is blocked.
  • Implement an alert that prevents adding a blocked email to the trusted contacts list, stating, "This sender has been blocked and cannot be added to the trusted contacts list."
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 a pull request may close this issue.

3 participants