feat: 推特列表时间线添加author字段 (#3210)

This commit is contained in:
hoilc
2019-10-09 11:25:52 +08:00
committed by DIYgod
parent b12d339178
commit 5bbe47ae11

View File

@@ -102,6 +102,7 @@ const ProcessFeed = ({ data = [] }, showAuthor = false) => {
return {
title: `${showAuthor ? item.user.name + ': ' : ''}${item.in_reply_to_screen_name ? 'Re ' : ''}${replaceBreak(item.full_text)}`,
author: item.user.name,
description: `${showAuthor ? `<img width="15px" src="${item.user.profile_image_url_https}"><strong>${item.user.name}:</strong><br><br>` : ''}${item.in_reply_to_screen_name ? 'Re ' : ''}${
item.full_text
}${url}${img}${quote}`,