use wcf\data\user\UserProfile;
use wcf\system\cache\runtime\CommentRuntimeCache;
use wcf\system\cache\runtime\UserProfileRuntimeCache;
+use wcf\system\email\Email;
use wcf\system\request\LinkHandler;
use wcf\system\user\notification\object\CommentResponseUserNotificationObject;
use wcf\system\WCF;
]);
}
+ $messageID = '<com.woltlab.wcf.user.profileComment.notification/'.$comment->commentID.'@'.Email::getHost().'>';
+
return [
'template' => 'email_notification_userProfileCommentResponseOwner',
'application' => 'wcf',
+ 'in-reply-to' => [$messageID],
+ 'references' => [$messageID],
'variables' => [
'commentAuthor' => $commentAuthor,
'owner' => $owner
<?php
namespace wcf\system\user\notification\event;
use wcf\system\cache\runtime\UserProfileRuntimeCache;
+use wcf\system\email\Email;
/**
* User notification event for profile comment responses.
public function getEmailMessage($notificationType = 'instant') {
$owner = UserProfileRuntimeCache::getInstance()->getObject($this->additionalData['objectID']);
+ $messageID = '<com.woltlab.wcf.user.profileComment.notification/'.$comment->commentID.'@'.Email::getHost().'>';
+
return [
'template' => 'email_notification_userProfileCommentResponse',
'application' => 'wcf',
+ 'in-reply-to' => [$messageID],
+ 'references' => [$messageID],
'variables' => [
'owner' => $owner
]