Warn when sending PMs to users who haven't been seen in a long time

AI-generated summary

A warning feature has been added to the message composer to alert users when sending a private message (PM) to someone who hasn’t been active on the site in a long time. The warning, which appears in the editor, reads: “You’re messaging someone who hasn’t been seen here in a very long time.”, and suggests the recipient may not receive the message. This feature aims to protect absent users from unwanted emails and senders from disappointment. The feature is now available via this commit, as demonstrated by techAPJ.

We would like to add add small warning on the editor, in the place that warns users

You’re messaging someone who hasn’t been seen here in a very long time – {x=“two years”}. They may not receive your message. You may wish to seek out other methods of contacting this person.

Users absent from a community are very unlikely to respond, this helps protect them from unwanted emails and protect the senders from disappointment.

14 Likes

This feature is now available via

https://github.com/discourse/discourse/commit/2ee721f8aa303ae3e4b49e84ca882813b777b863

Here’s how the warning looks like in composer preview pane:

4 Likes