mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
This patchset: * implements the /invite-accepted endpoint * adds capabilities and inviteAceptDialog to the discovery * adds a FederatedInviteAcceptedEvent https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1invite-accepted/post Co-authored-by: Anna <anna@nextcloud.com> Co-authored-by: Côme Chilliet <come.chilliet@nextcloud.com> Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Co-authored-by: Navid Shokri <navid.pdp11@gmail.com> Signed-off-by: Micke Nordin <kano@sunet.se>
24 lines
517 B
PHP
24 lines
517 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
/**
|
|
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
namespace OCA\CloudFederationAPI\Events;
|
|
|
|
use OCA\CloudFederationAPI\Db\FederatedInvite;
|
|
use OCP\EventDispatcher\Event;
|
|
|
|
class FederatedInviteAcceptedEvent extends Event {
|
|
public function __construct(
|
|
private FederatedInvite $invitation,
|
|
) {
|
|
parent::__construct();
|
|
}
|
|
|
|
public function getInvitation(): FederatedInvite {
|
|
return $this->invitation;
|
|
}
|
|
}
|