shithub: hell

Download patch

ref: 83de448e20fd897ccb8f62725c1e41404f71d585
parent: ebb6874223db77d825ea34c7d25bfaf1357eb07d
author: penny <penny@limitedideas.org>
date: Sat Oct 25 19:23:50 EDT 2025

replies accept attachments!

--- a/dispatch.go
+++ b/dispatch.go
@@ -157,7 +157,12 @@
 }
 
 func (hc *Hellclient) dispatchReply(posttext string, replyto mastodon.ID, postItem *mastodon.Status) {
-	hc.dispatch <- postReply(posttext, replyto, hc.currentuser.ID, postItem)
+	reply := postReply(posttext, replyto, hc.currentuser.ID, postItem)
+	for _, item := range hc.attacher.consumeAttachments() {
+		reply.MediaIDs = append(reply.MediaIDs, item.ID)
+	}
+	hc.prompt.UpdatePrompt()
+	hc.dispatch <- reply
 }
 
 func (hc *Hellclient) dispatchJob(job Job) {
--