+bio logging 1

This commit is contained in:
Natsumi
2022-12-13 15:38:18 +13:00
parent 1d842af238
commit f865d5086d
2 changed files with 9 additions and 17 deletions

View File

@@ -8447,20 +8447,14 @@ speechSynthesis.getVoices();
$app.addFeed(feed);
database.addStatusToDatabase(feed);
}
if (props.bio) {
var bio = '';
var previousBio = '';
if (props.bio) {
if (props.bio[0]) {
bio = props.bio[0];
}
if (props.bio[1]) {
previousBio = props.bio[1];
}
} else if (ref.bio) {
bio = ref.bio;
previousBio = ref.bio;
if (props.bio[0]) {
bio = props.bio[0];
}
if (props.bio[1]) {
previousBio = props.bio[1];
}
var feed = {
created_at: new Date().toJSON(),