XWIKI-15814 - Messages sent to followers only appear in the Notificat… (#1282)
- if "useUserPreferences" is false and we have a registered user then fetch a matching fiter preference to allow the filter "PersonalMessageStreamNotificationFilter" to figure out who is followed by the current user - move the special user related code to the UsersParameterHandler - add test for the "handleUsersParameter" when the "user" parameter is empty - try to clarify the comments - apply best practice: test methods should not be public
Showing
- xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-sources/src/main/java/org/xwiki/notifications/sources/internal/UsersParameterHandler.java 32 additions, 0 deletions...notifications/sources/internal/UsersParameterHandler.java
- xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-sources/src/test/java/org/xwiki/notifications/sources/internal/UsersParameterHandlerTest.java 63 additions, 2 deletions...fications/sources/internal/UsersParameterHandlerTest.java