# 回复后编辑以添加引用通知冗余

**URL:** <https://meta.discourse.org/t/reply-then-edit-to-add-quote-notification-redundancy/138358>\
**Category:** Feature\
**Created:** [2020年一月12日 02:46 UTC](https://meta.discourse.org/t/reply-then-edit-to-add-quote-notification-redundancy/138358 "2020-01-12T02:46:47Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![seanblue](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@seanblue](https://meta.discourse.org/u/seanblue)\
**Post date:** [2020年二月11日 12:56 UTC](https://meta.discourse.org/t/reply-then-edit-to-add-quote-notification-redundancy/138358/22 "2020-02-11T12:56:00Z")

</div>

姑且一说，我认为获取编辑通知确实是一项有价值的未来增强功能。当然，要在合理范围内，比如几小时之内之类的。 我遇到的主要使用场景是当你寻求帮助时：有人回复了你，你立刻阅读了该回复。他们经常在发布原回复后的几分钟内对其进行编辑，补充更多细节或澄清，这种情况并不少见。

---

<div class="post-metadata">

**Author:** ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
**Post date:** [2020年二月11日 15:21 UTC](https://meta.discourse.org/t/reply-then-edit-to-add-quote-notification-redundancy/138358/23 "2020-02-11T15:21:57Z")

</div>

我查看了相关内容以重温记忆。目前，我们仅在编辑时通知新类型的通知。也就是说，如果帖子被编辑并添加了引用，则会发送通知。添加链接或提及时也是如此。（话虽如此，多次编辑并依次添加多个引用并不会发送多条通知。每种类型仅发送第一条通知。[参见 post\_alerter.rb](https://github.com/discourse/discourse/blob/master/app/services/post_alerter.rb#L330) 以了解上下文。）

我认为这是一个功能而非缺陷，这是在以下两者之间的折中方案：a) 编辑时完全不发送任何通知，b) 每次编辑都发送通知。

话虽如此，如果我们希望停止在编辑时发送这些引用/链接/提及通知，那么这里是一个很好的跳过位置：

> <https://github.com/discourse/discourse/blob/main/app/services/post_alerter.rb#L53>

[上一頁](https://meta.discourse.org/t/reply-then-edit-to-add-quote-notification-redundancy/138358.md?page=1)
