Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/Model
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-29 22:40:10 +0300
committerJoas Schilling <coding@schilljs.com>2020-10-30 12:38:53 +0300
commit05e7cac904a0b87481a46814825c7e9cc05c6c71 (patch)
tree1541b7d9262f83c368330199a822595264c6fe7e /lib/Model
parent6cc98c58ab12773bbcc2421488473238d6b68b44 (diff)
Add an empty display_name column as preparation to merge the oc_talk_guests table in
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Model')
-rw-r--r--lib/Model/Attendee.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Model/Attendee.php b/lib/Model/Attendee.php
index 86e0676da..121139d15 100644
--- a/lib/Model/Attendee.php
+++ b/lib/Model/Attendee.php
@@ -32,6 +32,8 @@ use OCP\AppFramework\Db\Entity;
* @method string getActorType()
* @method void setActorId(string $actorId)
* @method string getActorId()
+ * @method void setDisplayName(string $displayName)
+ * @method string getDisplayName()
* @method void setPin(string $pin)
* @method string getPin()
* @method void setParticipantType(int $participantType)
@@ -59,6 +61,9 @@ class Attendee extends Entity {
protected $actorId;
/** @var string */
+ protected $displayName;
+
+ /** @var string */
protected $pin;
/** @var int */
@@ -83,6 +88,7 @@ class Attendee extends Entity {
$this->addType('roomId', 'int');
$this->addType('actorType', 'string');
$this->addType('actorId', 'string');
+ $this->addType('displayName', 'string');
$this->addType('pin', 'string');
$this->addType('participantType', 'int');
$this->addType('favorite', 'bool');
@@ -101,6 +107,7 @@ class Attendee extends Entity {
'room_id' => $this->getRoomId(),
'actor_type' => $this->getActorType(),
'actor_id' => $this->getActorId(),
+ // FIXME 'display_name' => $this->getDisplayName(),
'pin' => $this->getPin(),
'participant_type' => $this->getParticipantType(),
'favorite' => $this->isFavorite(),