|
|
@@ -104,7 +104,7 @@ export default class Portal {
|
|
|
if (message.length > 400) {
|
|
|
const linkLine = `\n${Emojis.LINK} ${article.link}`;
|
|
|
const tagsLine = tags.length > 0
|
|
|
- ? `\n${tags.map((hashtag) => `#${hashtag}`).join(" ")}`
|
|
|
+ ? `\n\n${tags.map((hashtag) => `#${hashtag}`).join(" ")}`
|
|
|
: "";
|
|
|
const maxContentLength = 400 - linkLine.length - tagsLine.length;
|
|
|
message = `${Emojis.NEWS} ${article.title}\n\n${article.content.substring(0, Math.max(0, maxContentLength - 10))}...${linkLine}${tagsLine}`;
|