summary refs log tree commit diff
path: root/atom.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-03-01 22:12:18 -0500
committerJune McEnroe <june@causal.agency>2021-03-01 23:10:10 -0500
commitf3662faba6eee9f5136ebbd2b326d10c648ca7ac (patch)
tree02cd149eb399da8dd2da3e86292839f5cdac69ea /atom.c
parentMatch any non-context diff lines as "head" (diff)
downloadbubger-f3662faba6eee9f5136ebbd2b326d10c648ca7ac.tar.gz
bubger-f3662faba6eee9f5136ebbd2b326d10c648ca7ac.zip
Generate properly populated reply Cc lists
Diffstat (limited to '')
-rw-r--r--atom.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/atom.c b/atom.c
index 16215df..14f9d54 100644
--- a/atom.c
+++ b/atom.c
@@ -166,7 +166,7 @@ int atomIndexOpen(FILE *file) {
 	const char *template = XML_DECL Q(
 		<feed xmlns="http://www.w3.org/2005/Atom">
 		<generator uri="[generator]">bubger</generator>
-		<id>mailto:[mailto]</id>
+		<id>[base]/</id>
 		<title>[title]</title>
 		<updated>[updated]</updated>
 		<link rel="self" href="[base]/index.atom"/>
@@ -174,7 +174,6 @@ int atomIndexOpen(FILE *file) {
 	);
 	struct Variable vars[] = {
 		{ "generator", GENERATOR_URL },
-		{ "mailto", baseMailto },
 		{ "title", baseTitle },
 		{ "updated", iso8601(time(NULL)).s },
 		{ "base", baseURL },