Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#1486285 closed Feature Patches (fixed)

Compose body modification by hook

Reported by: ziba Owned by:
Priority: 5 Milestone: 0.4-beta
Component: Plugins Version: 0.3.1
Severity: normal Keywords: hooks
Cc:

Description

I'd like to propose either a new hook or an extension of the "message_compose" hook to allow modifications to the body of a message being composed before it is sent to the browser.

My use case is a plugin which prepends the body of a forwarded message with full header information under certain circumstances.

I've attached a patch with a simple new hook, "compose_body", to do the job, but I'd be curious to know if people would prefer some other modification.

Attachments (1)

compose_body_hook.patch (629 bytes) - added by ziba 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by ziba

comment:1 Changed 4 years ago by alec

  • Milestone changed from later to 0.4-beta

comment:2 Changed 3 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Added 'message_compose_body' hook in [a82dcd42]. Please, add a description on wiki.

comment:3 Changed 3 years ago by ziba

Description added, thanks!

Note: See TracTickets for help on using tickets.