-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12668 from nextcloud/add-support-for-federated-calls
Add support for federated calls
- Loading branch information
Showing
29 changed files
with
2,144 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
/** | ||
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors | ||
* SPDX-License-Identifier: AGPL-3.0-or-later | ||
*/ | ||
|
||
namespace OCA\Talk\Events; | ||
|
||
use OCA\Talk\Room; | ||
|
||
abstract class AActiveSinceModifiedEvent extends ARoomModifiedEvent { | ||
public function __construct( | ||
Room $room, | ||
?\DateTime $newValue, | ||
?\DateTime $oldValue, | ||
protected int $callFlag, | ||
protected int $oldCallFlag, | ||
) { | ||
parent::__construct( | ||
$room, | ||
self::PROPERTY_ACTIVE_SINCE, | ||
$newValue, | ||
$oldValue, | ||
); | ||
} | ||
|
||
public function getCallFlag(): int { | ||
return $this->callFlag; | ||
} | ||
|
||
public function getOldCallFlag(): int { | ||
return $this->oldCallFlag; | ||
} | ||
} |
Oops, something went wrong.