mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Refactor reactions: removed unnecessary lines
This commit is contained in:
parent
bb50ad7a43
commit
95a713b50a
1 changed files with 0 additions and 2 deletions
|
|
@ -29,7 +29,6 @@ const reactionController: AppController = async (c) => {
|
||||||
await createEvent({
|
await createEvent({
|
||||||
kind: 7,
|
kind: 7,
|
||||||
content: emoji,
|
content: emoji,
|
||||||
created_at: Math.floor(Date.now() / 1000),
|
|
||||||
tags: [['e', id], ['p', event.pubkey]],
|
tags: [['e', id], ['p', event.pubkey]],
|
||||||
}, c);
|
}, c);
|
||||||
|
|
||||||
|
|
@ -74,7 +73,6 @@ const deleteReactionController: AppController = async (c) => {
|
||||||
await createEvent({
|
await createEvent({
|
||||||
kind: 5,
|
kind: 5,
|
||||||
content: '',
|
content: '',
|
||||||
created_at: Math.floor(Date.now() / 1000),
|
|
||||||
tags,
|
tags,
|
||||||
}, c);
|
}, c);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue