feat(feeds): prefill Wiki capture path from personal defaults
Build and publish container images / images (push) Successful in 11m41s

This commit is contained in:
Anya Tokugawa committed 2026-11-08 13:39:54 +09:00
1 parent 50a90bcc14
commit 78da33d549
9 files changed
+36 -8

No files matched your search

+10 -1
View File
@@ -38,7 +38,16 @@ func (s *Server) handleFeeds(w http.ResponseWriter, r *http.Request) {
taskError(w, e)
return
}
s.renderWithContext(w, r, "feeds.gohtml", map[string]any{"Title": "RSS", "FeedWritable": active})
prefix := ""
if s.systemExtensionEnabled(domain, "organizer.tasks") {
preferences, e := s.store.TaskPreferences(r.Context(), domain, actor)
if e != nil {
taskError(w, e)
return
}
prefix = preferences.WikiPrefix
}
s.renderWithContext(w, r, "feeds.gohtml", map[string]any{"Title": "RSS", "FeedWritable": active, "FeedWikiPrefix": prefix})
return
}
key := strings.TrimPrefix(r.URL.Path, feedsAPI)