mirror of
https://github.com/nextcloud/server.git
synced 2026-09-29 14:14:37 +02:00
The `IGroup::class . '::postAddUser'` event this listener subscribed to is not dispatched anywhere; `\OC\Group\Group` only emits the legacy `\OC\Group`/`postAddUser` signal on the `Emitter`, which never reaches the event dispatcher. Drop the registration together with the now unreachable `Notification\Listener::userAddedToGroup()` and its share manager dependency. Auto-accepting group shares stays covered by `UserAddedToGroupListener`, which listens to the typed `UserAddedEvent`. Assisted-by: ClaudeCode:claude-opus-5 Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>