mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-06 08:47:23 +00:00
Use hostname in client tag
This commit is contained in:
1 file changed
+1
-2
@@ -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({
|
||||||
|
|||||||
Reference in new issue
Block a user