mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2025-08-27 04:59:22 +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
|
||||
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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user