[Moderation] On prend aussi le champs "Approved" pour pouvoir annuler les messages sur crans.crans.annonces
This commit is contained in:
parent
eb4f22fd61
commit
5cdf043826
1 changed files with 5 additions and 1 deletions
|
@ -58,7 +58,8 @@
|
|||
newsgroups (message-fetch-field "newsgroups")
|
||||
subject (message-fetch-field "subject")
|
||||
message-id (message-fetch-field "message-id" t)
|
||||
distribution (message-fetch-field "distribution")))
|
||||
distribution (message-fetch-field "distribution")
|
||||
approved (message-fetch-field "approved")))
|
||||
;; Make sure that this article was written by the user.
|
||||
(unless (message-is-yours-p)
|
||||
(error "Impossible d'annuler cet article"))
|
||||
|
@ -73,6 +74,9 @@
|
|||
(if distribution
|
||||
(concat "Distribution: " distribution "\n")
|
||||
"")
|
||||
(if approved
|
||||
(concat "Approved: " approved "\n")
|
||||
"")
|
||||
mail-header-separator "\n"
|
||||
message-cancel-message)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue