From f01a3834aac0d5a08434e7d192f5c7e309e07c7d Mon Sep 17 00:00:00 2001 From: miko Date: Tue, 7 Jan 2025 09:00:29 +0200 Subject: [PATCH] Don't unpin comment on edit --- server/services/v1/comments/edit.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/services/v1/comments/edit.go b/server/services/v1/comments/edit.go index 0cc0b74..bade1a4 100644 --- a/server/services/v1/comments/edit.go +++ b/server/services/v1/comments/edit.go @@ -37,7 +37,6 @@ func edit(args *commentapi.EditArgs) (*commentapi.CommentItem, error) { } comment.Body = args.Comment - comment.IsPinned = false comment.Signature.SetValid(args.Signature) comment.Signingts.SetValid(args.SigningTS) // keep original timestamp for now. Eventually track last edit. Frontend can compare signingts and this.