diff options
author | Joas Schilling <coding@schilljs.com> | 2023-08-17 11:48:29 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-08-17 11:48:29 +0200 |
commit | 4da12bad1928b29720130c6491278a1bed4ffd84 (patch) | |
tree | 4eb14621fa98379cd17e122c582303c6874b834e | |
parent | 4c7a799775810ea644a6277ee640e4d941ff65c0 (diff) |
Add the attributeattribute-only
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | lib/Middleware/Attribute/lib/Middleware/Attribute/RequireParticipantOrLoggedInAndListedConversation.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/Middleware/Attribute/lib/Middleware/Attribute/RequireParticipantOrLoggedInAndListedConversation.php b/lib/Middleware/Attribute/lib/Middleware/Attribute/RequireParticipantOrLoggedInAndListedConversation.php new file mode 100644 index 000000000..a8ea8833c --- /dev/null +++ b/lib/Middleware/Attribute/lib/Middleware/Attribute/RequireParticipantOrLoggedInAndListedConversation.php @@ -0,0 +1,35 @@ +<?php +/* + * @copyright Copyright (c) 2023 Joas Schilling <coding@schilljs.com> + */ + +declare(strict_types=1); + +/** + * @copyright Copyright (c) 2023 Joas Schilling <coding@schilljs.com> + * + * @author Joas Schilling <coding@schilljs.com> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +namespace OCA\Talk\Middleware\Attribute; + +use Attribute; + +#[Attribute(Attribute::TARGET_METHOD)] +class RequireParticipantOrLoggedInAndListedConversation extends RequireRoom { +} |