diff options
Diffstat (limited to 'src/actions/nostr.rs')
-rw-r--r-- | src/actions/nostr.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actions/nostr.rs b/src/actions/nostr.rs index aebccba..3507d2e 100644 --- a/src/actions/nostr.rs +++ b/src/actions/nostr.rs @@ -173,6 +173,10 @@ impl<'a> NostrAction<'a> { #[async_trait] impl Action<'_> for NostrAction<'_> { + fn name(&self) -> &'static str { + "nostr" + } + async fn run(&self, params: Option<&MessageParams<'_, '_>>) -> Result<()> { let subject = self.message_config.subject(params)?; let body = self.message_config.body(params)?; |