-
Type:
Feature Request
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Message Boards
-
Labels:None
Right now, MBMessageLocalServiceImpl.notifySubscribers() is dealing with notifications for at least two different types of messages: Discussions and MessageBoards.
With the new Questions App, a new type of notification message has arisen. And with the possibility to create frontend apps on top of MessageBoards headless API, there are more chances to face new customization of the notification message in order to give proper context or change the name of the messages (see https://issues.liferay.com/browse/LPS-117747).
As modifying the current notification creation mechanism in MBMessageLocalServiceImpl to adapt to new types of messages (like Questions/Answers or others) does not make sense because it would in fact couple the MessageBoards with the possible uses of applications created using the Headless API, it would be nice to have an extension point that would allow other apps to plug-in their own strategy to create the notification with the proper context and naming depending on the custom application.