[Client] Fix bug
This commit is contained in:
parent
f1b5625647
commit
05d8078a18
1 changed files with 2 additions and 4 deletions
|
@ -14,8 +14,7 @@ const summarize = post => {
|
||||||
// 返信のとき
|
// 返信のとき
|
||||||
if (post.reply_to_id) {
|
if (post.reply_to_id) {
|
||||||
if (post.reply_to) {
|
if (post.reply_to) {
|
||||||
replySummary = summarize(post.reply_to);
|
summary += ` RE: ${summarize(post.reply_to)}`;
|
||||||
summary += ` RE: ${replySummary}`;
|
|
||||||
} else {
|
} else {
|
||||||
summary += ' RE: ...';
|
summary += ' RE: ...';
|
||||||
}
|
}
|
||||||
|
@ -24,8 +23,7 @@ const summarize = post => {
|
||||||
// Repostのとき
|
// Repostのとき
|
||||||
if (post.repost_id) {
|
if (post.repost_id) {
|
||||||
if (post.repost) {
|
if (post.repost) {
|
||||||
repostSummary = summarize(post.repost);
|
summary += ` RP: ${summarize(post.repost)}`;
|
||||||
summary += ` RP: ${repostSummary}`;
|
|
||||||
} else {
|
} else {
|
||||||
summary += ' RP: ...';
|
summary += ' RP: ...';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue