From cecb66d21dbe523ae516e1c30038084190f284b1 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Fri, 2 Sep 2016 01:07:36 +0200 Subject: Transmit the moderation reason to hold_message() The `reason` attribute of `hold_message()` was always None. Serialize the moderation reasons list and pass it to the function. This allows the `reason` attribute in REST to actually contain the moderation reason. It was always blank before. --- src/mailman/docs/NEWS.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mailman/docs/NEWS.rst') diff --git a/src/mailman/docs/NEWS.rst b/src/mailman/docs/NEWS.rst index 80cadd1b7..db65e9c69 100644 --- a/src/mailman/docs/NEWS.rst +++ b/src/mailman/docs/NEWS.rst @@ -99,6 +99,8 @@ Bugs Bompard. (Closes: #259) * Messages sent to the list's moderators now include the actual recipient addresses. Given by Tom Briles. (Closes: #68) + * Transmit the moderation reason and expose it in the REST API as the + ``reason`` attribute. Given by Aurélien Bompard. Configuration ------------- -- cgit v1.2.3-70-g09d2