# Usuário suspenso ainda recebendo e-mails de grupo do fórum

**URL:** <https://meta.discourse.org/t/suspended-user-still-receiving-forum-group-emails/141714>\
**Category:** Bug\
**Created:** [Fevereiro 15, 2020, 11:58pm UTC](https://meta.discourse.org/t/suspended-user-still-receiving-forum-group-emails/141714 "2020-02-15T23:58:26Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![loic](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/loic/32/105621_2.png) [@loic](https://meta.discourse.org/u/loic)\
**Post date:** [Março 8, 2023, 2:06pm UTC](https://meta.discourse.org/t/suspended-user-still-receiving-forum-group-emails/141714/20 "2023-03-08T14:06:19Z")

</div>

Acabei de abrir um PR que deve fazer exatamente o que você descreve 🙂

> <https://github.com/discourse/discourse/pull/20583>
>
> Currently, when a suspended user belongs to a group PM (private message with mor…e than two people in it) and a staff member sends a message to this group PM, then the suspended user will receive an email. This happens because a suspended user can only receive emails from staff members. But in this case, this can be seen as a bug, as the expected behavior would be instead to not send any email to the suspended user. A staff member can participate in active discussions like any other member, and so their messages in this context shouldn’t be treated differently than the ones from regular users.
> 
> This PR addresses this issue by checking if a suspended user receives a message from a group PM or not. If that’s the case, then an email won’t be sent no matter whether the post originated from a staff member or not.

---

_[View the full topic](https://meta.discourse.org/t/suspended-user-still-receiving-forum-group-emails/141714)._
