# 当发送私信给长期未见的的用户时发出警告

**URL:** <https://meta.discourse.org/t/warn-when-sending-pms-to-users-who-havent-been-seen-in-a-long-time/223570>\
**Category:** Feature\
**Tags:** completed\
**Created:** [2022年四月7日 04:46 UTC](https://meta.discourse.org/t/warn-when-sending-pms-to-users-who-havent-been-seen-in-a-long-time/223570 "2022-04-07T04:46:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2022年四月7日 04:46 UTC](https://meta.discourse.org/t/warn-when-sending-pms-to-users-who-havent-been-seen-in-a-long-time/223570/1 "2022-04-07T04:46:35Z")

</div>

我们想在编辑器中添加一个小的警告，在提醒用户的地方：

> 您正在给一个很长时间未在此处出现的用户发送消息——{x=“两年”}。他们可能收不到您的消息。您可能希望寻找其他联系该用户的方法。

社区中缺席的用户极不可能回复，这有助于保护他们免受不必要的电子邮件骚扰，并保护发件人免于失望。

---

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [2022年九月29日 05:04 UTC](https://meta.discourse.org/t/warn-when-sending-pms-to-users-who-havent-been-seen-in-a-long-time/223570/7 "2022-09-29T05:04:49Z")

</div>

此功能现已通过以下方式提供：

> <https://github.com/discourse/discourse/commit/2ee721f8aa303ae3e4b49e84ca882813b777b863>
>
> \* FEATURE: add composer warning when user haven't been seen in a long time
> 
> Wh…en a user creates a PM and adds a recipient that hasn't been seen in a
> long time then we'll now show a warning in composer indicating that the
> user hasn't been seen in a long time.

以下是警告在编辑器预览窗格中的显示方式：

 ![SCR-20220927-g6v](https://global.discourse-cdn.com/meta/original/4X/4/9/c/49cbd609e88455094badeb2a7531b8fb4276223a.png)

---

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [2022年九月29日 05:05 UTC](https://meta.discourse.org/t/warn-when-sending-pms-to-users-who-havent-been-seen-in-a-long-time/223570/8 "2022-09-29T05:05:39Z")

</div>


