bug: prevent repost
This commit is contained in:
parent
96d2fdcaac
commit
13b5ca124f
@ -62,9 +62,11 @@ export default function NoteFooter(props: NoteFooterProps) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function repost() {
|
async function repost() {
|
||||||
|
if (!hasReposted()) {
|
||||||
let evRepost = await publisher.repost(ev);
|
let evRepost = await publisher.repost(ev);
|
||||||
publisher.broadcast(evRepost);
|
publisher.broadcast(evRepost);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function tipButton() {
|
function tipButton() {
|
||||||
let service = author?.lud16 || author?.lud06;
|
let service = author?.lud16 || author?.lud06;
|
||||||
|
Loading…
Reference in New Issue
Block a user