恵真 :hypercat: on Nostr: npub1qca7t…ukxew fix it :sad_cat2: const object: ILike = { type: 'Like', id: ...
npub1qca7tpvylljuenhfk9dw39a6qq272pv3h90u6w899cjtvntm6g5snukxew (npub1qca…kxew) fix it
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(':', '');
Published at
2023-07-21 20:50:18Event JSON
{
"id": "fb3e52d60427674e0f1065b077cef1b9d75eaa156be9ed3c1b888552d8506358",
"pubkey": "7da45a9537fdeba5a24831edbb9480f8618a769b5aed552a3d8c8c4d8e401ee5",
"created_at": 1689972618,
"kind": 1,
"tags": [
[
"p",
"063be58584ffe5cccee9b15ae897ba0015e50591b95fcd38e52e24b64d7bd229",
"wss://relay.mostr.pub"
],
[
"p",
"84efe18faebb4aa1791b01060857099a7486732c8d176596896178879eb1313c",
"wss://relay.mostr.pub"
],
[
"e",
"b582acefcba2a5b54f91c64f21996dea2c8cc696bdcdfa42c2783113c519aea7",
"wss://relay.mostr.pub",
"reply"
],
[
"emoji",
"sad_cat2",
"https://niscii.xyz/files/webpublic-fd88f565-d60b-4033-bcea-666b06f170c0"
],
[
"mostr",
"https://niscii.xyz/notes/9hgmdj8fgv"
]
],
"content": "nostr:npub1qca7tpvylljuenhfk9dw39a6qq272pv3h90u6w899cjtvntm6g5snukxew fix it :sad_cat2:\n\n\n const object: ILike = {\n type: 'Like',\n id: `${this.config.url}/likes/${noteReaction.id}`,\n actor: `${this.config.url}/users/${noteReaction.userId}`,\n object: note.uri ? note.uri : `${this.config.url}/notes/${noteReaction.noteId}`,\n\u003c\u003c\u003c\u003c\u003c\u003c\u003c HEAD\n } as any;\n\n // Translate star into thumbs up\n if (reaction != \"\\u{2B50}\") {\n object.content = reaction;\n object._misskey_reaction = reaction;\n }\n=======\n content: reaction,\n _misskey_reaction: reaction,\n };\n\u003e\u003e\u003e\u003e\u003e\u003e\u003e master\n\n if (reaction.startsWith(':')) {\n const name = reaction.replaceAll(':', '');",
"sig": "f2081f8aef2f981f5120bb1751d770c14386bc496e8ac091667cb2181d0e7694a99680b7c13f5516bc4560fed9c77a24b60ecf5297df2bbd08a5481bae670d24"
}