}
}
- /**
- * @inheritDoc
- */
- public function saveFullQuote()
+ private function loadEmbeddedObjects(): void
{
if ($this->message->hasEmbeddedObjects) {
ObjectTypeCache::getInstance()
[$this->message->messageID]
);
}
+ }
+
+ /**
+ * @inheritDoc
+ */
+ public function saveFullQuote()
+ {
+ $this->loadEmbeddedObjects();
$quoteID = MessageQuoteManager::getInstance()->addQuote(
'com.woltlab.wcf.conversation.message',
*/
public function saveQuote()
{
+ $this->loadEmbeddedObjects();
+
$quoteID = MessageQuoteManager::getInstance()->addQuote(
'com.woltlab.wcf.conversation.message',
$this->message->conversationID,