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-03-11 14:55:51 +0300
committerJoas Schilling <coding@schilljs.com>2020-04-22 16:35:36 +0300
commitc28a43f1e70d220c7b062c841ef6a4b9cb88fffa (patch)
tree0565fb227354ebf108dbd51bc1d11fb682f91a8c /lib/Model
parenta05d075d738a3cee16fbe4e3878282997a20fbfd (diff)
Handle the new reference id in the backend
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Model')
-rw-r--r--lib/Model/Message.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Model/Message.php b/lib/Model/Message.php
index 83124d834..eadb38206 100644
--- a/lib/Model/Message.php
+++ b/lib/Model/Message.php
@@ -175,6 +175,7 @@ class Message {
'systemMessage' => $this->getMessageType() === 'system' ? $this->getMessageRaw() : '',
'messageType' => $this->getMessageType(),
'isReplyable' => $this->isReplyable(),
+ 'referenceId' => (string) $this->getComment()->getReferenceId(),
];
}
}