mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-18 09:17:12 +00:00
wip
This commit is contained in:
@ -205,6 +205,7 @@ table.vert {
|
|||||||
|
|
||||||
.content {
|
.content {
|
||||||
padding-left: 25px;
|
padding-left: 25px;
|
||||||
|
margin-top: -10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ document.addEventListener('alpine:init', () => {
|
|||||||
let ev = {
|
let ev = {
|
||||||
created_at: Math.floor(((new Date()) - 0) / 1000),
|
created_at: Math.floor(((new Date()) - 0) / 1000),
|
||||||
kind: 1,
|
kind: 1,
|
||||||
tags: [],
|
tags: [['t', 'oddbean']],
|
||||||
content: this.$refs.post.value,
|
content: this.$refs.post.value,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -145,10 +145,6 @@ document.addEventListener('alpine:init', () => {
|
|||||||
if (!seenPTags[this.repliedTo.pubkey]) {
|
if (!seenPTags[this.repliedTo.pubkey]) {
|
||||||
ev.tags.push(['p', this.repliedTo.pubkey]);
|
ev.tags.push(['p', this.repliedTo.pubkey]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// t tags
|
|
||||||
|
|
||||||
ev.tags.push(['t', 'oddbean']);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ev = await window.nostr.signEvent(ev);
|
ev = await window.nostr.signEvent(ev);
|
||||||
|
Reference in New Issue
Block a user