Account for a PEP notification recipient to be the service owner
Description
The existing implementation of PEPService assumes that the intended recipient of a notification is one of the subscribers to the service. It discounts the possibility that the notification is sent to the owner of the service, which will also occur.
Although the code does seem to accidentally do mostly the right thing it should be improved to explicitly take into account that notifications can be sent to service owners.
The existing implementation of
PEPService
assumes that the intended recipient of a notification is one of the subscribers to the service. It discounts the possibility that the notification is sent to the owner of the service, which will also occur.Although the code does seem to accidentally do mostly the right thing it should be improved to explicitly take into account that notifications can be sent to service owners.