shithub: hell

Download patch

ref: 1f796fcf73960e12979e09a9f6f925dba6a147d6
parent: 7e7bf4c103cacf7e5dc3114b0a8f8b04a23c25f4
author: penny <penny@limitedideas.org>
date: Wed Oct 29 15:03:03 EDT 2025

pause mode still prints your own statuses and deletes

--- a/mastodon.go
+++ b/mastodon.go
@@ -233,7 +233,7 @@
 				hc.stats.slock.Unlock()
 				//Tell the timeline marker updater the most recent post
 				readchan <- &post.Status.ID
-				if hc.isPaused {
+				if hc.isPaused && post.Status.Account.ID != hc.currentuser.ID {
 					currentPostRef := *hc.homeref
 					capturedPost := post
 					hc.actionBuffer = append(hc.actionBuffer, func() {
@@ -255,7 +255,7 @@
 				hc.stats.slock.Unlock()
 				formatter := &StatusFormatter{prefs: hc.preferences, status: post.Status, postContext: hc.homeref}
 				templater := newStatusTemplateRenderer(formatter)
-				if hc.isPaused {
+				if hc.isPaused && post.Status.Account.ID != hc.currentuser.ID {
 					hc.actionBuffer = append(hc.actionBuffer, func() {
 						line, _ := templater.render("$username EDITED: $index $content $media_descriptions\n")
 						fmt.Print(line)
@@ -286,7 +286,7 @@
 				}
 				formatter := &StatusFormatter{prefs: hc.preferences, status: deleted, postContext: hc.homeref}
 				templater := newStatusTemplateRenderer(formatter)
-				if hc.isPaused {
+				if hc.isPaused && hc.currentuser.ID != deleted.Account.ID{
 					hc.actionBuffer = append(hc.actionBuffer, func() {
 						line, _ := templater.render("Deleted: $standard_status")
 						fmt.Print(line)
--