ref: b0fd01dbd673c7637f22db70ca9039f820333a6b
parent: f4e9104c4dbf329b671e9e5afbb771d141dd9695
author: penny <penny@limitedideas.org>
date: Wed Aug 20 17:26:41 EDT 2025
Fix bookmarks and load reblogs as the status in operations Reblog statuses are fake
--- a/main.go
+++ b/main.go
@@ -99,6 +99,13 @@
} else {postItem, postOK = homeMap[lastindex]
}
+
+ //Okay now see if the post we end up with is a reblog
+ if postOK {+ if postItem.Reblog != nil {+ postItem = postItem.Reblog
+ }
+ }
//Contextual commands that need to handle their own requirements
switch command {@@ -180,7 +187,7 @@
return
case "unmark":
postCopy, err := client.GetStatus(context.Background(), postItem.ID)
- if postCopy.Bookmarked.(bool) && err == nil {+ if !postCopy.Bookmarked.(bool) && err != nil { fmt.Printf("Post not bookmarked.\n")return
}
--
⑨