mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2025-08-27 21:19:23 +00:00
Use hostname in client tag
This commit is contained in:
parent
a8163d7a6c
commit
1617d80ece
@ -16,8 +16,7 @@ export function useNostrPublish(): UseMutationResult<NostrEvent> {
|
|||||||
|
|
||||||
// Add the client tag if it doesn't exist
|
// Add the client tag if it doesn't exist
|
||||||
if (!tags.some((tag) => tag[0] === "client")) {
|
if (!tags.some((tag) => tag[0] === "client")) {
|
||||||
// FIXME: Replace "mkstack" with the actual client name
|
tags.push(["client", location.hostname]);
|
||||||
tags.push(["client", "mkstack"]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const event = await user.signer.signEvent({
|
const event = await user.signer.signEvent({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user