mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-30 00:37:56 +02:00
fix: event publication
This commit is contained in:
@@ -13,7 +13,7 @@ import accountManager from "./accounts";
|
||||
*
|
||||
* @param event - The signed Nostr event to publish
|
||||
*/
|
||||
async function publishEvent(event: NostrEvent): Promise<void> {
|
||||
export async function publishEvent(event: NostrEvent): Promise<void> {
|
||||
// Try to get author's outbox relays from EventStore (kind 10002)
|
||||
let relays = await relayListCache.getOutboxRelays(event.pubkey);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user