Open Bug 954127 Opened 11 years ago Updated 2 years ago

redesign the prplIMessage xpcom interface

Categories

(Chat Core :: General, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: florian, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [wanted])

*** Original post on bio 692 at 2011-02-11 14:52:00 UTC *** We should redesign the API around messages to make it more add-ons friendly. Some needs: - get a plain text (not HTML!) version of the message (bug 953499 (bio 48)) - provide a list of possible actions related to the message (to show them in context menus, or on buttons, as proposed in bug 954064 (bio 628)). - some new flags for add-on generated messages, like a for example a way to bypass the content filters, so that an add-on can inject an image in the conversation. - have a way to intercept and modify messages at several steps of the handling of messages: when they are received, before they are displayed, before sending, after a message has been sent, ... (use cases: Pastebin add-on (need to change the message before it's sent), OTR (need to change the message text just when it's received, and just before it's sent), video preview (need to know when a message is displayed, to insert some content just after it with the preview) - ... (probably more needs that I can't remember / haven't thought about yet).
Blocks: 953499
Whiteboard: [0.3-wanted]
*** Original post on bio 692 at 2011-05-23 16:26:43 UTC *** It's too late to start working on this for 0.3. We still want this for a later release.
Whiteboard: [0.3-wanted] → [wanted]
Summary: redesign the purpleIMessage xpcom interface → redesign the prplIMessage xpcom interface
Depends on: 983347
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.