# إرسال رسالة على منشور محذوف يولد خطأ غير صحيح

**URL:** <https://meta.discourse.org/t/sending-a-message-on-a-deleted-post-generates-spurious-error/161156>\
**Category:** Bug\
**Created:** [17 أغسطس 2020، 3:37م UTC](https://meta.discourse.org/t/sending-a-message-on-a-deleted-post-generates-spurious-error/161156 "2020-08-17T15:37:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [19 أغسطس 2020، 11:39م UTC](https://meta.discourse.org/t/sending-a-message-on-a-deleted-post-generates-spurious-error/161156/3 "2020-08-19T23:39:01Z")

</div>

حسناً، لدي حل لهذه المشكلة:

> <https://github.com/discourse/discourse/commit/4395e4d165b45a40cc9ba38c1369f6934781c2c2>
>
> Because we allow all the other flag types on a deleted post we should be
> able to… send a pm to the user letting them know why we deleted their
> post.
> 
> Bug report:
> 
> https://meta.discourse.org/t/-/161156

بما أننا نسمح بأنواع الأعلام الأخرى على المنشورات المحذوفة، أعتقد أنه يجب أن نسمح لك أيضاً بإرسال رسالة خاصة إلى مستخدم في منشور محذوف. ومع ذلك، فإن العيب هو أنه إذا قمت بحذف المنشور قبل وضع العلم عليه، فإن الرسالة الخاصة التي ترسلها إلى المستخدم لن تحتوي على المنشور المقتبس الذي قمت بحذفه، وستكون مجرد رابط إلى المنشور المحذوف الذي لن يتمكن المستخدم من مشاهدته بعد الآن. وهو أمر ربما لا يشكل مشكلة كبيرة، لكن أردت ذكره.

ضع العلم أولاً:

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/a/bab4aa5f2490570daea007e4809a2e7f55a74fa6.png)

احذف أولاً، ثم ضع العلم وأرسل الرسالة:

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/f/6fe512ee3ed33e51ca08d397d88c416ad1c24dc5.png)

---

_[View the full topic](https://meta.discourse.org/t/sending-a-message-on-a-deleted-post-generates-spurious-error/161156)._
