mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 08:23:35 +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
|
||||
if (!tags.some((tag) => tag[0] === "client")) {
|
||||
// FIXME: Replace "mkstack" with the actual client name
|
||||
tags.push(["client", "mkstack"]);
|
||||
tags.push(["client", location.hostname]);
|
||||
}
|
||||
|
||||
const event = await user.signer.signEvent({
|
||||
|
||||
Reference in new issue
Block a user