Why Nostr? What is Njump?
2023-07-21 20:50:18
in reply to

恵真 :hypercat: on Nostr: npub1qca7t…ukxew fix it ​:sad_cat2:​ const object: ILike = { type: 'Like', id: ...

fix it ​:sad_cat2:


const object: ILike = {
type: 'Like',
id: `${this.config.url}/likes/${noteReaction.id}`,
actor: `${this.config.url}/users/${noteReaction.userId}`,
object: note.uri ? note.uri : `${this.config.url}/notes/${noteReaction.noteId}`,
<<<<<<< HEAD
} as any;

// Translate star into thumbs up
if (reaction != "\u{2B50}") {
object.content = reaction;
object._misskey_reaction = reaction;
}
=======
content: reaction,
_misskey_reaction: reaction,
};
>>>>>>> master

if (reaction.startsWith(':')) {
const name = reaction.replaceAll(':', '');
Author Public Key
npub10kj949fhlh46tgjgx8kmh9yqlpsc5a5mttk4223a3jxymrjqrmjsruxps2