Skip to content

Disable email notifications for suspended users #1312

@elquimista

Description

@elquimista

Describe the bug

User gets an email notification for issues they subscribed to even when account is suspended by admin.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Settings -> Notifications page while logged in as user A.
  2. Turn on "All new questions" and click Save.
  3. Suspend user A from admin panel.
  4. While logged in as user B, post an example question.
  5. User A receives an email notification about the newly posted question.

Expected behavior

User A should not receive email notification about newly posted question (and all other subscribed notifications except account-related ones), when the account is in suspended state.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions