Skip to content

Commit b873a09

Browse files
author
Steven Joseph (asyncmind)
committed
Merge branch 'main' of https://github.com/DamageBDD/DamageBDD.com into update-css-files
2 parents 6e9224e + f9e8abb commit b873a09

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

assets/js/nostr-scroll.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ export function initNostrScroll({ containerId, pubkey, limit = 50, hashtags = nu
4141
if (data[0] === "EVENT" && data[1] === subId) {
4242
const ev = data[2];
4343
since = ev.created_at - 1;
44+
// 🔥 Exclude replies
45+
const isReply = ev.tags?.some(tag => tag[0] === "e");
46+
if (isReply) return;
47+
4448

4549
// Filter by hashtags if provided
4650
if (normalizedHashtags.length > 0) {

scripts/publish.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116

117117
;; Add current directory to load-path and require simple-httpd
118118
(add-to-list 'load-path
119-
(file-name-directory (or load-file-name buffer-file-name default-directory)))
119+
(expand-file-name "scripts"))
120120
(require 'simple-httpd)
121121

122122
;; Set the root directory for the web server to the published HTML output

0 commit comments

Comments
 (0)