about summary refs log tree commit diff
path: root/kittybox-rs/src/webmentions/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'kittybox-rs/src/webmentions/mod.rs')
-rw-r--r--kittybox-rs/src/webmentions/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/kittybox-rs/src/webmentions/mod.rs b/kittybox-rs/src/webmentions/mod.rs
index 1c4886e..d798c50 100644
--- a/kittybox-rs/src/webmentions/mod.rs
+++ b/kittybox-rs/src/webmentions/mod.rs
@@ -11,6 +11,10 @@ pub struct Webmention {
     target: String,
 }
 
+impl queue::JobItem for Webmention {
+    const DATABASE_NAME: &'static str = "kittybox.incoming_webmention_queue";
+}
+
 async fn accept_webmention<Q: JobQueue<Webmention>>(
     Form(webmention): Form<Webmention>,
     Extension(queue): Extension<Q>