diff --git a/src/activitypub/mocks.js b/src/activitypub/mocks.js index f9995b3b72..5268dd1c01 100644 --- a/src/activitypub/mocks.js +++ b/src/activitypub/mocks.js @@ -191,7 +191,7 @@ Mocks.profile = async (actors) => { const iconBackgrounds = await user.getIconBackgrounds(); let bgColor = Array.prototype.reduce.call(preferredUsername, (cur, next) => cur + next.charCodeAt(), 0); bgColor = iconBackgrounds[bgColor % iconBackgrounds.length]; - + summary = summary || ''; // Replace emoji in summary if (tag && Array.isArray(tag)) { tag