mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-25 03:48:17 +00:00
fix: 未读消息邮件头像不显示的问题
This commit is contained in:
parent
94e4054cd4
commit
e4524ff2c5
@ -186,7 +186,7 @@ class EmailNoticeTask extends AbstractTask
|
|||||||
}
|
}
|
||||||
$setting = Base::setting('emailSetting');
|
$setting = Base::setting('emailSetting');
|
||||||
$msgType = $dialogType === "group" ? "群聊" : "个人";
|
$msgType = $dialogType === "group" ? "群聊" : "个人";
|
||||||
$subject = env('APP_NAME') . " 未读{$msgType}消息提醒(" . count($data) . "条)";
|
$subject = env('APP_NAME') . " 未读{$msgType}消息提醒";
|
||||||
$content = view('email.unread', [
|
$content = view('email.unread', [
|
||||||
'type' => 'head',
|
'type' => 'head',
|
||||||
'nickname' => $user->nickname,
|
'nickname' => $user->nickname,
|
||||||
@ -223,6 +223,7 @@ class EmailNoticeTask extends AbstractTask
|
|||||||
'unread' => count($items),
|
'unread' => count($items),
|
||||||
'items' => $items,
|
'items' => $items,
|
||||||
])->render();
|
])->render();
|
||||||
|
$content = str_replace("{{RemoteURL}}", config("app.url") . "/", $content);
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
Factory::mailer()
|
Factory::mailer()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user