aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorGuillermo Serrahima <dev@vylion.com>2026-07-16 02:21:38 +0200
committerGuillermo Serrahima <dev@vylion.com>2026-07-16 02:21:38 +0200
commit2f4f118bb755e92961c1225c49ff30ab4951daff (patch)
tree472bad08c8ac73e4d480355bf30eae7fb7c3f4ef /main.go
parentf0a7593dfa48a254f5a3664cd7ca80178d36f436 (diff)
downloadllostre-2f4f118bb755e92961c1225c49ff30ab4951daff.tar.xz
llostre-2f4f118bb755e92961c1225c49ff30ab4951daff.zip
Moved out thread deduplication
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index e9a871e..85c8712 100644
--- a/main.go
+++ b/main.go
@@ -369,6 +369,7 @@ func postsHandler(w http.ResponseWriter, r *http.Request) {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
+ posts = notes.DeduplicateThreads(posts)
}
config.Logger.Debug("posts ready", "count", len(posts))