use wcf\data\language\Language;
use wcf\system\html\output\HtmlOutputProcessor;
use wcf\system\language\LanguageFactory;
+use wcf\system\message\embedded\object\MessageEmbeddedObjectManager;
use wcf\system\request\IRouteController;
use wcf\system\request\LinkHandler;
use wcf\system\WCF;
*/
public function getMailText($mimeType = 'text/plain')
{
+ if ($this->hasEmbeddedObjects) {
+ MessageEmbeddedObjectManager::getInstance()->loadObjects(
+ 'com.woltlab.wcf.article.content',
+ [$this->articleContentID]
+ );
+ }
+
switch ($mimeType) {
case 'text/plain':
$processor = new HtmlOutputProcessor();
use wcf\system\comment\CommentHandler;
use wcf\system\comment\manager\ICommentManager;
use wcf\system\html\output\HtmlOutputProcessor;
+use wcf\system\message\embedded\object\MessageEmbeddedObjectManager;
use wcf\util\StringUtil;
/**
*/
public function getMailText($mimeType = 'text/plain')
{
+ if ($this->hasEmbeddedObjects) {
+ MessageEmbeddedObjectManager::getInstance()->loadObjects(
+ 'com.woltlab.wcf.comment',
+ [$this->commentID]
+ );
+ }
+
switch ($mimeType) {
case 'text/plain':
return $this->getPlainTextMessage();
use wcf\system\comment\CommentHandler;
use wcf\system\comment\manager\ICommentManager;
use wcf\system\html\output\HtmlOutputProcessor;
+use wcf\system\message\embedded\object\MessageEmbeddedObjectManager;
use wcf\util\StringUtil;
/**
*/
public function getMailText($mimeType = 'text/plain')
{
+ if ($this->hasEmbeddedObjects) {
+ MessageEmbeddedObjectManager::getInstance()->loadObjects(
+ 'com.woltlab.wcf.comment.response',
+ [$this->responseID]
+ );
+ }
+
switch ($mimeType) {
case 'text/plain':
return $this->getPlainTextMessage();