From 4b9a5adf5c6601d880755330b1411e004bef3ac6 Mon Sep 17 00:00:00 2001 From: Niko Abeler Date: Sat, 10 Sep 2022 13:44:25 +0200 Subject: [PATCH] more thread safety --- embed/post.html | 4 +- owl_test.go | 21 ++++++ post.go | 176 ++++++++++++++++++++++----------------------- post_test.go | 56 +++++++++++++-- webmention_test.go | 72 +++++++++---------- 5 files changed, 194 insertions(+), 135 deletions(-) diff --git a/embed/post.html b/embed/post.html index 25d44c9..f42b0d7 100644 --- a/embed/post.html +++ b/embed/post.html @@ -16,12 +16,12 @@
- {{if .Post.ApprovedWebmentions}} + {{if .Post.ApprovedIncomingWebmentions}}

Webmentions