diff options
author | Joas Schilling <coding@schilljs.com> | 2017-07-08 10:50:54 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-07-17 12:05:51 +0300 |
commit | 8a3dd6757cdef125205af35b225745eb0f32303f (patch) | |
tree | dae7e9ab7ff40c0ddf60f1a59c7aa47110adf086 /lib/Participant.php | |
parent | 819d8b964e295e2730c18020aa32d263f4f940e9 (diff) |
Add participant types
* one2one calls have two owners
* for group and public calls the creator is the owner
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Participant.php')
-rw-r--r-- | lib/Participant.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/Participant.php b/lib/Participant.php new file mode 100644 index 000000000..375c76b5f --- /dev/null +++ b/lib/Participant.php @@ -0,0 +1,31 @@ +<?php +/** + * @copyright Copyright (c) 2017 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\Spreed; + +class Participant { + const OWNER = 1; + const MODERATOR = 2; + const USER = 3; + const GUEST = 4; +} |